Skip to content

Commit

Permalink
Fix a bug with default words are imported every time.
Browse files Browse the repository at this point in the history
  • Loading branch information
xhacker committed Apr 3, 2014
1 parent 6679d59 commit 2e08cd9
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions www/js/app.js
Original file line number Diff line number Diff line change
Expand Up @@ -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
}
}

Expand Down

0 comments on commit 2e08cd9

Please # to comment.