mirror of
https://github.com/YunoHost/yunohost-admin.git
synced 2024-09-03 20:06:15 +02:00
[enh] Resize body after content refresh.
This commit is contained in:
parent
49bfb14dd1
commit
231aac076a
2 changed files with 4 additions and 1 deletions
2
src/dist/js/script.min.js
vendored
2
src/dist/js/script.min.js
vendored
File diff suppressed because one or more lines are too long
|
@ -260,6 +260,9 @@ var app = Sammy('#main', function (sam) {
|
|||
$('html, body').scrollTop(0);
|
||||
});
|
||||
}
|
||||
|
||||
// Resize window according to updated content.
|
||||
$('body').resize();
|
||||
},
|
||||
|
||||
confirm: function(title, content, confirmCallback, cancelCallback) {
|
||||
|
|
Loading…
Add table
Reference in a new issue