From a59f3c510cdf89f0b648e3d5c6cf70f23e21a4d5 Mon Sep 17 00:00:00 2001 From: Marcel Werk Date: Thu, 5 Jan 2017 16:49:25 +0100 Subject: [PATCH] Fixed missing auto-scroll when refreshing statistics chart --- wcfsetup/install/files/acp/js/WCF.ACP.js | 2 ++ 1 file changed, 2 insertions(+) diff --git a/wcfsetup/install/files/acp/js/WCF.ACP.js b/wcfsetup/install/files/acp/js/WCF.ACP.js index 64bb1ff583..dfa127417e 100644 --- a/wcfsetup/install/files/acp/js/WCF.ACP.js +++ b/wcfsetup/install/files/acp/js/WCF.ACP.js @@ -2507,6 +2507,8 @@ WCF.ACP.Stat.Chart = Class.extend({ if (!$data.length) { $('#chart').append('

' + WCF.Language.get('wcf.acp.stat.noData') + '

'); } + + elBySel('.contentHeader > .contentTitle').scrollIntoView({ behavior: 'smooth' }); } }); -- 2.20.1