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.newuser' ).addClass( 'admin' );
$( 'body.mailset' ).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 // Back button
curHref = window.location.href.split('/'); curHref = window.location.href.split('/');
prevHref = document.referrer.split('/'); prevHref = document.referrer.split('/');