叙述、别离 1 год назад
Родитель
Сommit
433a6b642e
1 измененных файлов: 2 добавлений и 2 удалений
  1. +2
    -2
      src/static/web/js/style.js

+ 2
- 2
src/static/web/js/style.js Просмотреть файл

@@ -2,8 +2,8 @@
$(function() {
$(window).on('scroll', function() {
var scrolled = $(window).scrollTop();
if (scrolled > 10) $('#returntop').show();
if (scrolled < 10) $('#returntop').hide();
if (scrolled > 100) $('#returntop').show();
if (scrolled < 100) $('#returntop').hide();
});
$('#returntop').on('click', function() {
$('html, body').animate({


Загрузка…
Отмена
Сохранить