Skip to content

Commit

Permalink
Android 1.6 test
Browse files Browse the repository at this point in the history
  • Loading branch information
Paul Jackson authored and Paul Jackson committed May 23, 2012
1 parent cec26d9 commit 4d20ae1
Showing 1 changed file with 8 additions and 8 deletions.
16 changes: 8 additions & 8 deletions src/js/pe-ap.js
Original file line number Diff line number Diff line change
Expand Up @@ -802,11 +802,11 @@
$(document).trigger({type: 'wet-boew-dependency-loaded', js: js});
};
scriptElem.src = js;
if (pe.ie > 0 && pe.ie < 9) {
//if (pe.ie > 0 && pe.ie < 9) {
$(scriptElem).appendTo($(head));
} else {
head.insertBefore(scriptElem, head.firstChild);
} // bug in IE7 and IE8 head append http://www.fraggednation.com/blog/IE7-IE8-Strikes-again-JQuery-append-workaround-494
//} else {
// head.insertBefore(scriptElem, head.firstChild);
//} // bug in IE7 and IE8 head append http://www.fraggednation.com/blog/IE7-IE8-Strikes-again-JQuery-append-workaround-494
}, 0);
this.staged[this.staged.length] = js;
return this;
Expand Down Expand Up @@ -835,11 +835,11 @@
var head = pe.add.head,
styleElement = document.createElement('link');
pe.add.set(styleElement, 'rel', 'stylesheet').set(styleElement, 'href', css);
if (pe.ie > 0 && pe.ie < 10) {
//if (pe.ie > 0 && pe.ie < 10) {
$(styleElement).appendTo($(head)).attr("href", css);
} else {
head.insertBefore(styleElement, head.firstChild);
}
//} else {
//head.insertBefore(styleElement, head.firstChild);
//}
return this;
},
/**
Expand Down

0 comments on commit 4d20ae1

Please sign in to comment.