Skip to content

Commit 3113b01

Browse files
committed
fix
1 parent f216b96 commit 3113b01

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

HacgGodTurn.user.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -446,6 +446,7 @@
446446
if(e.keyCode>36 && e.keyCode<41 && !e.shiftKey && !e.altKey){
447447
if(/INPUT|TEXTAREA/.test(document.activeElement.tagName))return;
448448
var article, isFind, index, articles=document.querySelectorAll(articleSel);
449+
if(articles.length<2)return;
449450
var scrollTop = window.pageYOffset || document.documentElement.scrollTop || document.body.scrollTop || 0;
450451
if(e.keyCode==39){
451452
if(e.ctrlKey){

0 commit comments

Comments
 (0)