summaryrefslogtreecommitdiffhomepage
path: root/modules/luci-mod-status/htdocs/luci-static/resources
diff options
context:
space:
mode:
Diffstat (limited to 'modules/luci-mod-status/htdocs/luci-static/resources')
-rw-r--r--modules/luci-mod-status/htdocs/luci-static/resources/view/status/bandwidth.js3
-rw-r--r--modules/luci-mod-status/htdocs/luci-static/resources/view/status/wireless.js3
2 files changed, 4 insertions, 2 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();
diff --git a/modules/luci-mod-status/htdocs/luci-static/resources/view/status/wireless.js b/modules/luci-mod-status/htdocs/luci-static/resources/view/status/wireless.js
index 45dd54a883..ce0c72bc3b 100644
--- a/modules/luci-mod-status/htdocs/luci-static/resources/view/status/wireless.js
+++ b/modules/luci-mod-status/htdocs/luci-static/resources/view/status/wireless.js
@@ -1,4 +1,5 @@
'use strict';
+'require ui';
'require rpc';
'require network';
@@ -326,7 +327,7 @@ return L.view.extend({
});
}
- L.ui.tabs.initTabGroup(v.firstElementChild.childNodes);
+ ui.tabs.initTabGroup(v.firstElementChild.childNodes);
this.pollData();