mirror of https://github.com/4xmen/xshop.git
You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
12 lines
293 B
JavaScript
12 lines
293 B
JavaScript
// 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' });
|
|
})
|