Board Thread:Support Requests - Getting Technical/@comment-3974211-20141110231944

I've created this javascript to add background images to champion pages on the League of Legends wiki. However, the Show/Hide buttons for the Champion Roster and the Ability Details sections do not work while the javascript is active (clicking them seems to navigate to the "#" title on the page - i.e. scrolls to the top of the page, adds a # to the URL and nothing else seems to happen). Checking the HTML shows that the content is still there. Interestingly, the Show/Hide on the Table-Of-Contents still works (e.g. on here). Have I forgotten to close something that's interfering with other scripts?

EDIT: The levelselect script also doesn't function properly when on a page in tandem with the new script. It doesn't automatically change to select 1-18 (it sits on n). It also only seems to update once (I can change the selection once) and then it stops working. I suppose it's possible the old script is causing the issues? 