From 2e08cd956890063f536f6f64b9a08c4e8c8b6c4f Mon Sep 17 00:00:00 2001 From: Xhacker Liu Date: Wed, 2 Apr 2014 22:05:00 -0700 Subject: [PATCH] Fix a bug with default words are imported every time. --- www/js/app.js | 1 + 1 file changed, 1 insertion(+) diff --git a/www/js/app.js b/www/js/app.js index 23b22e7..e9c3106 100755 --- a/www/js/app.js +++ b/www/js/app.js @@ -2,6 +2,7 @@ function load_default_words() { if (!localStorage["word_imported"]) { var default_words = ["halo", "word", "dysprosium", "love", "cesium", "love", "daisy", "Capella"] localStorage["words"] = default_words + localStorage["word_imported"] = true } }