From: Jo-Philipp Wich Date: Tue, 3 Sep 2019 14:47:19 +0000 (+0200) Subject: luci-base: luci.js: fix L.Poll.remove() X-Git-Url: https://git.librecmc.org/?a=commitdiff_plain;h=88969529f18a7de7ef9699c0b0dde82e820f1d7b;p=oweals%2Fluci.git luci-base: luci.js: fix L.Poll.remove() Signed-off-by: Jo-Philipp Wich --- diff --git a/modules/luci-base/htdocs/luci-static/resources/luci.js b/modules/luci-base/htdocs/luci-static/resources/luci.js index 582e37300..9d472dedc 100644 --- a/modules/luci-base/htdocs/luci-static/resources/luci.js +++ b/modules/luci-base/htdocs/luci-static/resources/luci.js @@ -491,7 +491,7 @@ return true; }, - remove: function(entry) { + remove: function(fn) { if (typeof(fn) != 'function') throw new TypeError('Invalid argument to LuCI.Poll.remove()');