1.8.0 regression - document ready is fired too early on IE 9/10
|Reported by:||Owned by:||mikesherov|
We have a weird banner system that injects an external script with document.write that triggers a regression in $(document).ready() in jQuery 1.8.0 (jQuery 1.7.2 works fine).
Basically, document ready is fired before the object defined below document ready code section is called (on IE 9 or IE10 - IE 10 is from last years Windows 8 developer preview).
I've created a minimal test case at: http://www.centarnekretnina.net/dev/test.html
The page should execute alert("test");
IE10 dev tools console outputs:
SCRIPT5007: Unable to get value of the property 'init': object is null or undefined test.html, line 20 character 5
You can download the two small files (test.html and test2.js), change the jquery version and see that this works fine on jQuery 1.7.2
Change History (31)
comment:4 Changed 5 years ago by
|Component:||unfiled → core|
|Milestone:||None → 1.8.1|
|Owner:||changed from vrodic@… to mikesherov|
|Priority:||undecided → high|
|Status:||new → assigned|