From 3ace3eaa91e0d5bbba08e1d7cf53a9327d75fd43 Mon Sep 17 00:00:00 2001 From: yflory Date: Fri, 12 Mar 2021 12:55:45 +0100 Subject: [PATCH] lint compliance --- www/admin/inner.js | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/www/admin/inner.js b/www/admin/inner.js index 7deed589a..6b4f340a3 100644 --- a/www/admin/inner.js +++ b/www/admin/inner.js @@ -939,7 +939,7 @@ define([ return; }; - Messages.admin_cat_broadcast = "Broadcast" // XXX + Messages.admin_cat_broadcast = "Broadcast"; // XXX // Messages.admin_broadcastHint // XXX // Messages.admin_broadcastTitle // XXX Messages.broadcast_maintenance = 'maintenance';// XXX @@ -1062,7 +1062,7 @@ define([ var radio = UI.createRadio('broadcastDefault', null, bcastDefault, first, { 'data-lang': l, label: {class: 'noTitle'} - }) + }); $(radio).find('input').on('change', function () { if ($(this).is(':checked')) { $noFallbackBtn.css('visibility', ''); } }); @@ -1288,7 +1288,6 @@ define([ // Make the line var uid = Util.find(data, ['content', 'msg', 'uid']); - var hash = Util.find(data, ['content', 'hash']); var time = Util.find(data, ['content', 'msg', 'content', 'time']); var deleteBtn = h('button.btn.btn-danger', Messages.broadcast_deleteBtn); var tr = h('tr', { 'data-uid': uid }, [