colazo / enhancejs

Automatically exported from code.google.com/p/enhancejs
Other
0 stars 0 forks source link

Onload event sometimes doesn't work in Webkit #20

Open GoogleCodeExporter opened 8 years ago

GoogleCodeExporter commented 8 years ago
What steps will reproduce the problem?
1. Add a class to the HTML element when page load is complete (I'm using jQuery 
$('window').load(function(){$('html').addClass('loaded')});)
2. The class sometimes is not added in Chrome / Safari
3. The problem only occurs when scripts are loaded dinamically using enhaceJS

I'm using Safari 5.0.2 / Win and Google Chrome 7.0.517.41 / Win

Original issue reported on code.google.com by hijadesa...@gmail.com on 24 Oct 2010 at 10:47