This commit is contained in:
xing 2020-02-16 00:01:24 +08:00
parent 816b6f3ea6
commit 698b68f74a

View File

@ -190,7 +190,7 @@ function list() {
if (ads.length > 0) { if (ads.length > 0) {
let url = document.querySelector('.tl_shadow_for_app').parentNode.querySelector('a.j_common').href; let url = document.querySelector('.tl_shadow_for_app').parentNode.querySelector('a.j_common').href;
ads.forEach(v => { ads.forEach(v => {
v.classList.remove('tl_shadow_for_app'); //v.classList.remove('tl_shadow_for_app');
let a = v.querySelector('a.j_enter_for_app'); let a = v.querySelector('a.j_enter_for_app');
let tid = v.getAttribute('data-tid'); let tid = v.getAttribute('data-tid');
a.href = url.replace(/\/(\d+)\?/.exec(url)[1], tid); a.href = url.replace(/\/(\d+)\?/.exec(url)[1], tid);