aboutsummaryrefslogtreecommitdiff
path: root/p/scripts/category.js
diff options
context:
space:
mode:
authorGravatar Alexandre Alapetite <alexandre@alapetite.fr> 2016-08-06 14:20:00 +0200
committerGravatar Alexandre Alapetite <alexandre@alapetite.fr> 2016-08-06 14:20:00 +0200
commit6d5b868b343d4a3410945d559b3caa8f786a05ec (patch)
tree2dafbe3109c9e5ad417e20dba76362c84fe060a6 /p/scripts/category.js
parenta051970d5b15a60e79ac2428280652486644c11c (diff)
parent1719bbde8328fa5eea02280501b48a10aaaf6600 (diff)
Merge for conflicts
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 8c7ba37b0..fe8b4c058 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>');
}
}
}