From: Marcel Werk Date: Thu, 5 Jan 2017 15:49:25 +0000 (+0100) Subject: Fixed missing auto-scroll when refreshing statistics chart X-Git-Tag: 3.0.0~41 X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=a59f3c510cdf89f0b648e3d5c6cf70f23e21a4d5;p=GitHub%2FWoltLab%2FWCF.git Fixed missing auto-scroll when refreshing statistics chart --- 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' }); } });