mirror of
https://github.com/ether/etherpad-lite.git
synced 2025-01-19 14:13:34 +01:00
/admin/plugins: If a user installs sth scroll up to the loading indicator
This commit is contained in:
parent
4edb3b7ab3
commit
806926d0f6
1 changed files with 1 additions and 0 deletions
|
@ -36,6 +36,7 @@ $(document).ready(function () {
|
||||||
show: function(plugin, msg) {
|
show: function(plugin, msg) {
|
||||||
$('#installed-plugins .'+plugin+' .progress').show()
|
$('#installed-plugins .'+plugin+' .progress').show()
|
||||||
$('#installed-plugins .'+plugin+' .progress .message').text(msg)
|
$('#installed-plugins .'+plugin+' .progress .message').text(msg)
|
||||||
|
$(window).scrollTop(0)
|
||||||
},
|
},
|
||||||
hide: function(plugin) {
|
hide: function(plugin) {
|
||||||
$('#installed-plugins .'+plugin+' .progress').hide()
|
$('#installed-plugins .'+plugin+' .progress').hide()
|
||||||
|
|
Loading…
Reference in a new issue