diff options
| author | 2016-08-06 14:15:47 +0200 | |
|---|---|---|
| committer | 2016-08-06 14:15:47 +0200 | |
| commit | 1719bbde8328fa5eea02280501b48a10aaaf6600 (patch) | |
| tree | caf7590e31700fb1be92650d61cef6e8c42dafc4 /p/scripts/category.js | |
| parent | e4664142b7604b5eaa72df84fd0b0c8a8fc1e42f (diff) | |
| parent | 3652dea854200f31492a71243727f6a1be317c4a (diff) | |
Merge pull request #1196 from Alkarex/jsHint
JSHint and safer async init_normal
Diffstat (limited to 'p/scripts/category.js')
| -rw-r--r-- | p/scripts/category.js | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/p/scripts/category.js b/p/scripts/category.js index c33e68528..be9605bec 100644 --- a/p/scripts/category.js +++ b/p/scripts/category.js @@ -1,4 +1,6 @@ "use strict"; +/* globals i18n */ +/* jshint globalstrict: true */ var loading = false, dnd_successful = false; @@ -20,7 +22,7 @@ function dragend_process(t) { $(t).remove(); if (parent.children().length <= 0) { - parent.append('<li class="item disabled" dropzone="move">' + i18n['category_empty'] + '</li>'); + parent.append('<li class="item disabled" dropzone="move">' + i18n.category_empty + '</li>'); } } } |
