summaryrefslogtreecommitdiff
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, 2 insertions, 2 deletions
diff --git a/p/scripts/category.js b/p/scripts/category.js
index dc5df67e4..c33e68528 100644
--- a/p/scripts/category.js
+++ b/p/scripts/category.js
@@ -20,13 +20,13 @@ function dragend_process(t) {
$(t).remove();
if (parent.children().length <= 0) {
- parent.append('<li class="item disabled" dropzone="move">' + str_category_empty + '</li>');
+ parent.append('<li class="item disabled" dropzone="move">' + i18n['category_empty'] + '</li>');
}
}
}
function init_draggable() {
- if (!(window.$ && window.url_freshrss)) {
+ if (!(window.$ && window.i18n)) {
if (window.console) {
console.log('FreshRSS waiting for JS…');
}