mirror of https://github.com/4xmen/xshop.git
Fix preloader delay
parent
fc04d7a27c
commit
456be03358
@ -1,11 +1,9 @@
|
||||
// back to top btn
|
||||
$('.backtop-btn').click(function(){
|
||||
$('html, body').animate({ scrollTop: 0 }, 'slow');
|
||||
$('.backtop-btn').click(function () {
|
||||
$('html, body').animate({scrollTop: 0}, 'slow');
|
||||
return false;
|
||||
});
|
||||
|
||||
/* pre loader */
|
||||
$(window).on('load', function () {
|
||||
$('#preloader').delay(350).fadeOut('slow');
|
||||
$('body').delay(350).css({ 'overflow': 'visible' });
|
||||
})
|
||||
$('#preloader').delay(450).fadeOut('slow');
|
||||
$('body').delay(450).css({'overflow': 'visible'});
|
||||
|
Loading…
Reference in New Issue