1
0
mirror of https://github.com/janeczku/calibre-web synced 2024-12-29 11:30:31 +00:00

re-add loader code

This commit is contained in:
hexeth 2019-02-19 13:56:49 -08:00 committed by GitHub
parent c07cb23ef2
commit 9a0e8fefb7
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -24,6 +24,9 @@ $( 'body.advsearch' ).addClass( 'advanced_search' );
$( 'body.newuser' ).addClass( 'admin' );
$( 'body.mailset' ).addClass( 'admin' );
// Re-add loader to fix CSS/Jquery targets
$( '<div id="loader" hidden="true"><center><h3>Uploading...</h3><span>please don\'t refresh the page</span>". "<br><img src=""></center></div>' ).insertAfter( '.navbar.navbar-default.navbar-static-top ' );
// Back button
curHref = window.location.href.split('/');
prevHref = document.referrer.split('/');