Skip to content

Commit e0ade2e

Browse files
committed
Fixes jaubourg#42: IE9 should use the same trick as old IEs... sadly.
1 parent 53c2997 commit e0ade2e

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/jquery.jsonp.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -212,8 +212,8 @@
212212

213213
;
214214

215-
// IE 6 to 8: event/htmlFor trick
216-
if ( !( STR_ON_LOAD in script ) && ( STR_ON_READY_STATE_CHANGE in script ) ) {
215+
// Internet Explorer: event/htmlFor trick
216+
if ( STR_ON_READY_STATE_CHANGE in script ) {
217217

218218
script.htmlFor = script.id;
219219
script.event = STR_ON_CLICK;

0 commit comments

Comments
 (0)