15-01-2013, 08:35 AM
If stuff like this happens to you
[Image: spoilerscomeback_zps747600c2.png]
Same thing happens to image spoilers using the [img2 ] tag, for example
[img2]https://www.dropbox.com/s/l2ooyz22asr72dp/yvain.jpg?dl=1[/img2]
If you go to the Sources tab and open up spoiler.js you might see some stupid shit about
Uncaught TypeError: Cannot read property 'msie' of undefined
Which screws up jQuery as FancyBox, thus not allowing spoilers to be properly formatted.
To solve this, wait until jQuery gets loaded again, and then call the code that re-builds the FancyBox component around the spoiler
[Image: spoilerscomeback_zps747600c2.png]
Quote:Press F12 (or right click, inspect element), go to the console, and type j=jQuery.noConflict(); initSpoilers()(thanks Kip for the second line)
OR type javascript: j=jQuery.noConflict(); initSpoilers() into the address bar
Same thing happens to image spoilers using the [img2 ] tag, for example
[img2]https://www.dropbox.com/s/l2ooyz22asr72dp/yvain.jpg?dl=1[/img2]
Quote:$('var').replaceWith(function(){(Thanks Stackoverflow)
return $("<img />", {src: $(this).attr('title'),class: 'bbc_img'});
});
If you go to the Sources tab and open up spoiler.js you might see some stupid shit about
Uncaught TypeError: Cannot read property 'msie' of undefined
Which screws up jQuery as FancyBox, thus not allowing spoilers to be properly formatted.
To solve this, wait until jQuery gets loaded again, and then call the code that re-builds the FancyBox component around the spoiler