forked from a1gard/xshop
Fix back to top button & add preloader
parent
5744b72109
commit
d46e35248c
@ -0,0 +1,11 @@
|
||||
// back to top btn
|
||||
$('.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' });
|
||||
})
|
Loading…
Reference in New Issue