aboutsummaryrefslogtreecommitdiff
path: root/p/scripts/category.js
diff options
context:
space:
mode:
Diffstat (limited to 'p/scripts/category.js')
-rw-r--r--p/scripts/category.js4
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>');
}
}
}