projects
/
GitHub
/
WoltLab
/
WCF.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
a16e598
)
Fixed missing auto-scroll when refreshing statistics chart
author
Marcel Werk
<burntime@woltlab.com>
Thu, 5 Jan 2017 15:49:25 +0000
(16:49 +0100)
committer
Marcel Werk
<burntime@woltlab.com>
Thu, 5 Jan 2017 15:49:33 +0000
(16:49 +0100)
wcfsetup/install/files/acp/js/WCF.ACP.js
patch
|
blob
|
blame
|
history
diff --git
a/wcfsetup/install/files/acp/js/WCF.ACP.js
b/wcfsetup/install/files/acp/js/WCF.ACP.js
index 64bb1ff5836d1ee1c979c1b8943abee704a6bd51..dfa127417e20283f41ea6f9fd1a58a100fdfef1b 100644
(file)
--- 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('<p style="position: absolute; font-size: 1.2rem; text-align: center; top: 50%; margin-top: -20px; width: 100%">' + WCF.Language.get('wcf.acp.stat.noData') + '</p>');
}
+
+ elBySel('.contentHeader > .contentTitle').scrollIntoView({ behavior: 'smooth' });
}
});