From f39dd886b14e8b189ab723bb92c259375dba78a7 Mon Sep 17 00:00:00 2001 From: Robbie Antenesse Date: Thu, 22 Aug 2019 14:23:59 -0600 Subject: [PATCH] Remove call to nonexistent var on word submit for upload --- src/js/wordManagement.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/js/wordManagement.js b/src/js/wordManagement.js index bfe5b42..54c716a 100644 --- a/src/js/wordManagement.js +++ b/src/js/wordManagement.js @@ -175,7 +175,7 @@ export function submitWordForm() { addWord(word); sortWords(true); - if (upload && hasToken()) { + if (hasToken()) { import('./account/index.js').then(account => { account.uploadWord(word); });