diff options
Diffstat (limited to 'applications/luci-app-statistics/htdocs')
-rw-r--r-- | applications/luci-app-statistics/htdocs/luci-static/resources/view/statistics/graphs.js | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/applications/luci-app-statistics/htdocs/luci-static/resources/view/statistics/graphs.js b/applications/luci-app-statistics/htdocs/luci-static/resources/view/statistics/graphs.js index 4ac81ff826..479dcbcbbc 100644 --- a/applications/luci-app-statistics/htdocs/luci-static/resources/view/statistics/graphs.js +++ b/applications/luci-app-statistics/htdocs/luci-static/resources/view/statistics/graphs.js @@ -74,7 +74,7 @@ return view.extend({ 'data-tab-title': multiple ? title : null, 'data-plugin': plugin, 'data-plugin-instance': plugin_instance, - 'data-is-index': i ? null : true, + 'data-is-index': i || render_instances.length == 1 ? null : true, 'cbi-tab-active': function(ev) { activeInstance = ev.target.getAttribute('data-plugin-instance') } }, blobs.map(function(blob) { return E('img', { |