소스 검색

Update style.js

tags/6.2.12
叙述、别离 1 년 전
부모
커밋
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({


불러오는 중...
취소
저장