User talk:Enterprisey/offset-history-link
Appearance
Clashing with Twinkle
[edit]Enterprisey, the rollback buttons from Twinkle don't work when this script is installed. Seems to be because setting innerHTML overrides the eventlisteners Twinkle had added. This diff should fix it: Special:Diff/928883874/929540414. – Thjarkur (talk) 13:57, 6 December 2019 (UTC)
- Done Thank you for the patch! Enterprisey (talk!) 19:32, 6 December 2019 (UTC)
JQuery warning
[edit]Steps to reproduce: Visit https://en.wikipedia.org/w/index.php?title=Albatross&action=edit, then click "Show changes" button.
jQuery.Deferred exception: Cannot read properties of undefined (reading 'pages') TypeError: Cannot read properties of undefined (reading 'pages')
at https://en.wikipedia.org/w/index.php?title=User:Enterprisey/offset-history-link.js&action=raw&ctype=text/javascript:11:44
at mightThrow (https://en.wikipedia.org/w/load.php?lang=en&modules=jquery%2Coojs-ui-core%2Coojs-ui-widgets%7Cjquery.ui&skin=vector&version=rkpmw:49:833)
at process (https://en.wikipedia.org/w/load.php?lang=en&modules=jquery%2Coojs-ui-core%2Coojs-ui-widgets%7Cjquery.ui&skin=vector&version=rkpmw:50:498) undefined