mirror of
https://github.com/scinote-eln/scinote-web.git
synced 2024-11-11 01:44:34 +08:00
Merge pull request #2335 from urbanrotnik/ur-sci-4236
Use Jquery scroll [SCI-4236]
This commit is contained in:
commit
c29aee081b
1 changed files with 1 additions and 7 deletions
|
@ -99,13 +99,7 @@ var RepositoryDatatableRowEditor = (function() {
|
|||
TABLE.ajax.reload(() => {
|
||||
animateSpinner(null, false);
|
||||
HelperModule.flashAlertMsg(data.flash, 'success');
|
||||
|
||||
setTimeout(() => {
|
||||
window.scrollTo({
|
||||
left: 0,
|
||||
behavior: 'smooth'
|
||||
});
|
||||
}, 400);
|
||||
$('html, body').animate({scrollLeft: 0}, 300);
|
||||
});
|
||||
});
|
||||
|
||||
|
|
Loading…
Reference in a new issue