summaryrefslogtreecommitdiffhomepage
path: root/applications/luci-app-vnstat2/htdocs/luci-static/resources/view/vnstat2/graphs.js
diff options
context:
space:
mode:
Diffstat (limited to 'applications/luci-app-vnstat2/htdocs/luci-static/resources/view/vnstat2/graphs.js')
-rw-r--r--applications/luci-app-vnstat2/htdocs/luci-static/resources/view/vnstat2/graphs.js3
1 files changed, 2 insertions, 1 deletions
diff --git a/applications/luci-app-vnstat2/htdocs/luci-static/resources/view/vnstat2/graphs.js b/applications/luci-app-vnstat2/htdocs/luci-static/resources/view/vnstat2/graphs.js
index 770884655..fbe9d5933 100644
--- a/applications/luci-app-vnstat2/htdocs/luci-static/resources/view/vnstat2/graphs.js
+++ b/applications/luci-app-vnstat2/htdocs/luci-static/resources/view/vnstat2/graphs.js
@@ -1,10 +1,11 @@
// This is free software, licensed under the Apache License, Version 2.0
'use strict';
+'require view';
'require fs';
'require ui';
-return L.view.extend({
+return view.extend({
renderTab: function(ifaces, style, title) {
var tab = E('div', {
'class': 'cbi-section',