diff options
author | Sergey Ponomarev <stokito@gmail.com> | 2023-06-10 21:51:09 +0300 |
---|---|---|
committer | Sergey Ponomarev <stokito@gmail.com> | 2023-06-10 21:51:09 +0300 |
commit | b5ba9c3741d7e554463035e623b7d7e52c84d1fb (patch) | |
tree | 7fde36bf19ed164ebd863cbcf2e742bd13337303 /applications/luci-app-firewall/htdocs/luci-static/resources/view/firewall/rules.js | |
parent | fa775eed8a71ef4139e116fbc20e18ce4ba0df4c (diff) |
luci-app-firewall: missing variable declaration
Signed-off-by: Sergey Ponomarev <stokito@gmail.com>
Diffstat (limited to 'applications/luci-app-firewall/htdocs/luci-static/resources/view/firewall/rules.js')
-rw-r--r-- | applications/luci-app-firewall/htdocs/luci-static/resources/view/firewall/rules.js | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/applications/luci-app-firewall/htdocs/luci-static/resources/view/firewall/rules.js b/applications/luci-app-firewall/htdocs/luci-static/resources/view/firewall/rules.js index 018554e991..156992caf0 100644 --- a/applications/luci-app-firewall/htdocs/luci-static/resources/view/firewall/rules.js +++ b/applications/luci-app-firewall/htdocs/luci-static/resources/view/firewall/rules.js @@ -22,7 +22,7 @@ function rule_proto_txt(s, ctHelpers) { }; }); - m = String(uci.get('firewall', s, 'helper') || '').match(/^(!\s*)?(\S+)$/); + var m = String(uci.get('firewall', s, 'helper') || '').match(/^(!\s*)?(\S+)$/); var h = m ? { val: m[0].toUpperCase(), inv: m[1], |