luci-base: luci.js: fix L.Poll.remove()
Signed-off-by: Jo-Philipp Wich <jo@mein.io>
This commit is contained in:
parent
14b6ea6ea7
commit
88969529f1
1 changed files with 1 additions and 1 deletions
|
@ -491,7 +491,7 @@
|
||||||
return true;
|
return true;
|
||||||
},
|
},
|
||||||
|
|
||||||
remove: function(entry) {
|
remove: function(fn) {
|
||||||
if (typeof(fn) != 'function')
|
if (typeof(fn) != 'function')
|
||||||
throw new TypeError('Invalid argument to LuCI.Poll.remove()');
|
throw new TypeError('Invalid argument to LuCI.Poll.remove()');
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue