「User:Irukaza/js/patrolPlus.js」:修訂間差異
跳至導覽
跳至搜尋
無編輯摘要
imported>=海豚= 無編輯摘要 |
imported>=海豚= 無編輯摘要 |
||
| 第44行: | 第44行: | ||
} | } | ||
const container = $('<a href="#" class="patrolLink"></a>'); | const container = $('<a href="#" class="patrolLink"></a>'); | ||
self.after(container).appendTo(container).before("").after(""); | self.after(container).appendTo(container).before(" ").after(""); | ||
self = container; | self = container; | ||
const link = self.closest("li,tr").find('a[href*="diff"]:not([href*="diff=0"])').first(); | const link = self.closest("li,tr").find('a[href*="diff"]:not([href*="diff=0"])').first(); | ||