Forum:JavaScript page not loading

Hi, can someone check if there are any syntax errors in this page? Because either there is an error who prevent the loading of the entire page or the page itself is not loaded. The last code added was the second, but in my personal js works fine, moreover the others don't work anymore. I'm afraid that the page itself is not loaded... I tried to check with firebug and I don't see among the other js pages loaded (if you want to check beware that there is a page named MediaWiki:Wikia.js/customInterface.js). I thought it may be a problem regarding the undergoing mediawiki updating process, but it's almost a day that pages doesn't load... any suggestions?


 * Look at the last each-call:


 * The line before it ends in a semicolon. It mustn't. --

Really? But why? I always seen the nameless functions ended with a semicolon... then why the others end with that? (I don't really know the correct syntax, I usually use some examples as reference). Anyway I've corrected it but still doesn't seem to work... I'll give some time.


 * The semicolon ends an instruction. But the instruction doesn't end before the last each. The last each is still a part of it. That's why this is a bad place for a semicolon.


 * If this doesn't fix it, post a link to one of the pages where the code should be seen in action, please! --


 * Wait, maybe I misunderstood you, the correct code is what you posted or is this one?


 * That page includes 3 different codes, but you will know if they are loaded if you go here and you see the name "Alabasta" bolded and black in the second section of the template "Isole e luoghi" (at the bottom) or if you go here and the width of the bottom template is expanded to the maximum. Ah that's another weird fact: only in IE if you hover over that bottom template (here) the height is increased... (the CCS classes are in MediaWiki:Common.css in the "Cronologia capitoli ed episodi" section)


 * I posted the wrong code. To show you where the mistake is. The version that you just posted looks fine to me. So does the page by the way --


 * Sorry, because there wasn't the last semicolon I thought you were talking about that, I fixed it and now looks like it's working... that weird IE bug is still bagging me, but since it's IE I guess I won't even bother looking. Thank you!


 * Still too soon for party... now I'm experience a problem I thought I resolved, the new editor is not loading anymore (only in Firefox)... this always happened when I added this code:


 * Anyone else is seeing this error?

What this code does, I cannot tell. But it seems like the element with the selector ".crono-container strong.selflink" is nowhere to be found on that page. You can catch that by testing if "current" has a value:


 * Thank you, you are a lifesaver!