diff --git a/public/src/admin/dashboard.js b/public/src/admin/dashboard.js index 131c8ebb2a..ab151a2bad 100644 --- a/public/src/admin/dashboard.js +++ b/public/src/admin/dashboard.js @@ -565,7 +565,7 @@ define('admin/dashboard', [ function setupFullscreen() { const container = document.getElementById('analytics-panel'); const $container = $(container); - const btn = $container.find('.fa-expand'); + const btn = $container.find('#expand-analytics'); let fsMethod; let exitMethod; @@ -584,7 +584,6 @@ define('admin/dashboard', [ } if (fsMethod) { - btn.addClass('active'); btn.on('click', function () { if ($container.hasClass('fullscreen')) { document[exitMethod](); diff --git a/src/views/admin/partials/dashboard/graph.tpl b/src/views/admin/partials/dashboard/graph.tpl index 48943a6bf1..7292e78baf 100644 --- a/src/views/admin/partials/dashboard/graph.tpl +++ b/src/views/admin/partials/dashboard/graph.tpl @@ -5,7 +5,7 @@