luci-base: luci.js: fix L.Poll.remove()
authorJo-Philipp Wich <jo@mein.io>
Tue, 3 Sep 2019 14:47:19 +0000 (16:47 +0200)
committerJo-Philipp Wich <jo@mein.io>
Tue, 10 Sep 2019 13:28:16 +0000 (15:28 +0200)
Signed-off-by: Jo-Philipp Wich <jo@mein.io>
modules/luci-base/htdocs/luci-static/resources/luci.js

index 582e3730094c70fcd2d8fe23f153de135c295b6c..9d472dedc04428ae00b8841e025823688ecbe2e2 100644 (file)
                        return true;
                },
 
-               remove: function(entry) {
+               remove: function(fn) {
                        if (typeof(fn) != 'function')
                                throw new TypeError('Invalid argument to LuCI.Poll.remove()');