diff options
author | Marcel Klehr <mklehr@gmx.net> | 2013-03-27 12:20:50 +0100 |
---|---|---|
committer | Marcel Klehr <mklehr@gmx.net> | 2013-03-27 12:20:50 +0100 |
commit | bc8d6d4c45f443716d3334e1606cf7664b9a97ac (patch) | |
tree | e96e1288a4bf99dc448077452a3b845731bb1bc8 /src/static | |
parent | c4d9a71156c39d84350230e88ef9ebab148f1a2a (diff) | |
download | etherpad-lite-bc8d6d4c45f443716d3334e1606cf7664b9a97ac.zip |
/admin/plugins: Add a loading indicator to some messages
Diffstat (limited to 'src/static')
-rw-r--r-- | src/static/js/admin/plugins.js | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/static/js/admin/plugins.js b/src/static/js/admin/plugins.js index bc7a0208..e2e07e96 100644 --- a/src/static/js/admin/plugins.js +++ b/src/static/js/admin/plugins.js @@ -46,7 +46,7 @@ $(document).ready(function () { show: function(plugin, msg) { $('.installed-results .'+plugin+' .progress').show() $('.installed-results .'+plugin+' .progress .message').text(msg) - $(window).scrollTop($('.'+plugin).offset().top-100) + if($(window).scrollTop() > $('.'+plugin).offset().top)$(window).scrollTop($('.'+plugin).offset().top-100) }, hide: function(plugin) { $('.installed-results .'+plugin+' .progress').hide() |