From 37d8445228553772311c10135aaaff96b2a918e0 Mon Sep 17 00:00:00 2001 From: Keyser H Date: Sat, 4 May 2019 14:51:00 +0900 Subject: [PATCH] Fix QA v2 --- layouts/_default/list.html | 19 ------------------- 1 file changed, 19 deletions(-) diff --git a/layouts/_default/list.html b/layouts/_default/list.html index fa4f5367886..201ed69e0dd 100644 --- a/layouts/_default/list.html +++ b/layouts/_default/list.html @@ -259,25 +259,6 @@ } }); - function anchorLoad() { - // anchor load. - var hash = window.location.hash.substring(1), - objt = $(window.location.hash), - depth = 110, - scrn = $(window).width(); - scrn_check = 1025; - - if (scrn < scrn_check) { - depth = 120; - } - - if (window.location.hash.charAt(0) === "#") { - $('html').scrollTop(objt.offset().top - depth); - console.debug('go', objt.offset().top - depth); - } - } - anchorLoad(); - // anchor click control. $("a[href*='#']").click(function(e) { if (!$(this).attr('data-target')) {