summaryrefslogtreecommitdiffhomepage
path: root/applications/luci-app-banip/luasrc/view/banip/ipsetview.htm
diff options
context:
space:
mode:
authorDirk Brenken <dev@brenken.org>2018-11-12 12:14:52 +0100
committerDirk Brenken <dev@brenken.org>2018-11-12 12:14:52 +0100
commit9f2c2e72189c8ed467a5268f3cc5b6be084dd8d7 (patch)
tree01ca5d5c2fa8dd726c782e830e1f68158202be2e /applications/luci-app-banip/luasrc/view/banip/ipsetview.htm
parentdc2877d39f49d878f99143cb5fe1cd86502b62d0 (diff)
luci-app-banip: fix JS errors in chromium
* fix JS errors in chromium on ipset- & ripe-view page Signed-off-by: Dirk Brenken <dev@brenken.org>
Diffstat (limited to 'applications/luci-app-banip/luasrc/view/banip/ipsetview.htm')
-rw-r--r--applications/luci-app-banip/luasrc/view/banip/ipsetview.htm7
1 files changed, 4 insertions, 3 deletions
diff --git a/applications/luci-app-banip/luasrc/view/banip/ipsetview.htm b/applications/luci-app-banip/luasrc/view/banip/ipsetview.htm
index 14932ffaef..22c1312a8f 100644
--- a/applications/luci-app-banip/luasrc/view/banip/ipsetview.htm
+++ b/applications/luci-app-banip/luasrc/view/banip/ipsetview.htm
@@ -15,9 +15,10 @@ This is free software, licensed under the Apache License, Version 2.0
//<![CDATA[
function ipset_view()
{
- var ipset = div_ipsets.querySelector("#s_ipsets").value;
- var filter = document.getElementById("checkbox_filter").checked;
- var view = document.getElementById("view_id");
+ var div_ipsets = document.getElementById("div_ipsets");
+ var ipset = div_ipsets.querySelector("#s_ipsets").value;
+ var filter = document.getElementById("checkbox_filter").checked;
+ var view = document.getElementById("view_id");
if (!ipset)
{