We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent e87f4b7 commit 3523295Copy full SHA for 3523295
src/prototype/dom/dom.js
@@ -3170,6 +3170,9 @@
3170
// Certain oddball element types can't be extended in IE8.
3171
function checkElementPrototypeDeficiency(tagName) {
3172
if (typeof window.Element === 'undefined') return false;
3173
+ // Skip newer IEs because creating an OBJECT tag pops up an annoying
3174
+ // "this page uses Java" warning.
3175
+ if (!HAS_EXTENDED_CREATE_ELEMENT_SYNTAX) return false;
3176
var proto = window.Element.prototype;
3177
if (proto) {
3178
var id = '_' + (Math.random() + '').slice(2),
0 commit comments