Skip to content

Commit 6c1f2ca

Browse files
committed
fix
1 parent e23814f commit 6c1f2ca

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

HacgGodTurn/HacgGodTurn.user.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -77,7 +77,7 @@
7777
// @include http*://www.htacg.cc/*
7878
// @include http*://sleazyfork.org/*/scripts/*
7979
// @include http*://greasyfork.org/*/scripts/*
80-
// @version 3.21.40
80+
// @version 3.21.39
8181
// @grant GM_notification
8282
// @grant GM_xmlhttpRequest
8383
// @grant GM_setClipboard
@@ -388,7 +388,7 @@
388388
if(/(sleaz|greas)yfork\.org\//.test(location.href)){
389389
if(/scripts\/23316/.test(location.href)){
390390
let pos=elementPosition(document.querySelector("#additional-info>div.script-author-description>h2")).y;
391-
scrollToControl(pos);
391+
scrollTo(0,pos);
392392
}else{
393393
if(document.body.innerHTML.indexOf("\u7409\u7483\u795e\u793e")!=-1){
394394
var installLink=document.querySelector("a.install-link");

0 commit comments

Comments
 (0)