summaryrefslogtreecommitdiffhomepage
path: root/applications/luci-app-firewall/htdocs/luci-static/resources/view/firewall/rules.js
diff options
context:
space:
mode:
authorJo-Philipp Wich <jo@mein.io>2023-06-23 12:03:48 +0200
committerGitHub <noreply@github.com>2023-06-23 12:03:48 +0200
commitfbe18753fbdadabe55e7a7b4e143147699224e73 (patch)
tree84f87fb2d230f0978b01c2e3a0253e6722d10129 /applications/luci-app-firewall/htdocs/luci-static/resources/view/firewall/rules.js
parent5865d02bfd9dad34e2d3106d57675045d8eb235c (diff)
parentb5ba9c3741d7e554463035e623b7d7e52c84d1fb (diff)
Merge pull request #6428 from stokito/luci-app-firewall
luci-app-firewall: missing variable declaration
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.js2
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 c8809d0d7f..b727f4e798 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],