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() diff --git a/src/templates/admin/plugins.html b/src/templates/admin/plugins.html index 1b69549c..44e6f7a5 100644 --- a/src/templates/admin/plugins.html +++ b/src/templates/admin/plugins.html @@ -59,7 +59,7 @@

You haven't installed any plugins yet.

-

Fetching installed plugins...

+


Fetching installed plugins...

@@ -100,7 +100,7 @@

No plugins found.

-

Fetching catalogue...

+


Fetching catalogue...