summaryrefslogtreecommitdiffhomepage
path: root/modules/luci-mod-status/htdocs/luci-static/resources/view/status/bandwidth.js
diff options
context:
space:
mode:
authorJo-Philipp Wich <jo@mein.io>2019-11-03 21:54:40 +0100
committerJo-Philipp Wich <jo@mein.io>2019-11-03 21:55:50 +0100
commit86f492173d1daab8b75e4d4bd70ba06872ea70fa (patch)
tree3a64f76424681b0a0bb613c6966079a530ffd057 /modules/luci-mod-status/htdocs/luci-static/resources/view/status/bandwidth.js
parentb2a46e131b778ae14156676de8daf8231ab8e151 (diff)
treewide: require ui.js explicitly
Signed-off-by: Jo-Philipp Wich <jo@mein.io>
Diffstat (limited to 'modules/luci-mod-status/htdocs/luci-static/resources/view/status/bandwidth.js')
-rw-r--r--modules/luci-mod-status/htdocs/luci-static/resources/view/status/bandwidth.js3
1 files changed, 2 insertions, 1 deletions
diff --git a/modules/luci-mod-status/htdocs/luci-static/resources/view/status/bandwidth.js b/modules/luci-mod-status/htdocs/luci-static/resources/view/status/bandwidth.js
index 0565490b9d..18e2160b51 100644
--- a/modules/luci-mod-status/htdocs/luci-static/resources/view/status/bandwidth.js
+++ b/modules/luci-mod-status/htdocs/luci-static/resources/view/status/bandwidth.js
@@ -1,4 +1,5 @@
'use strict';
+'require ui';
'require rpc';
'require network';
@@ -298,7 +299,7 @@ return L.view.extend({
});
}
- L.ui.tabs.initTabGroup(v.firstElementChild.childNodes);
+ ui.tabs.initTabGroup(v.firstElementChild.childNodes);
this.pollData();