jsfiddle/jsfiddle-docs-alpha — Issue #124: vanilla onLoad not cross-browser-safe
Author: bergus
Created: 2011-12-07 04:21:28+00:00
State: open

The current JS for the onDomReady-Event without libraries is not working in Opera (and others, I guess). Instead of
window.addEvent('domready', function() {
...
});
if should be
document.addEventListener("DOMContentLoaded", function() {
...
}, false);