diff --git a/tieba page.js b/tieba page.js index 8287f9c..cea1265 100644 --- a/tieba page.js +++ b/tieba page.js @@ -462,7 +462,7 @@ window.open(url, '_blank'); } if ((startX - endX) > 100 && Math.abs(endY - startY) <= 100) { - location.href = document.querySelector('li.tl_shadow>a[data-thread-type="0"]').dataset.url; + location.href = li.querySelector('li.tl_shadow>a[data-thread-type="0"]').dataset.url; //window.open(url,'self') } })