diff options
author | John Resig <jeresig@gmail.com> | 2009-02-28 20:28:45 +0000 |
---|---|---|
committer | John Resig <jeresig@gmail.com> | 2009-02-28 20:28:45 +0000 |
commit | 6914fc29690d0d4ff7fa7ef2dd7862ef34e9aeb5 (patch) | |
tree | f7c727c4bad5444dae272e60189d196664c68b42 /src/support.js | |
parent | f1f5cd9f6a80b0de18cc0402f28b440f48b95f83 (diff) | |
download | jquery-6914fc29690d0d4ff7fa7ef2dd7862ef34e9aeb5.tar.gz jquery-6914fc29690d0d4ff7fa7ef2dd7862ef34e9aeb5.zip |
Removed the objectAll check from jQuery.support, was causing problems with broken ActiveX controls. Fixes bug #4017.
Diffstat (limited to 'src/support.js')
-rw-r--r-- | src/support.js | 7 |
1 files changed, 1 insertions, 6 deletions
diff --git a/src/support.js b/src/support.js index 429825083..3d8054821 100644 --- a/src/support.js +++ b/src/support.js @@ -8,7 +8,7 @@ id = "script" + (new Date).getTime(); div.style.display = "none"; - div.innerHTML = ' <link/><table></table><a href="/a" style="color:red;float:left;opacity:.5;">a</a><select><option>text</option></select><object><param/></object>'; + div.innerHTML = ' <link/><table></table><a href="/a" style="color:red;float:left;opacity:.5;">a</a><select><option>text</option></select>'; var all = div.getElementsByTagName("*"), a = div.getElementsByTagName("a")[0]; @@ -26,11 +26,6 @@ // IE will insert them into empty tables tbody: !div.getElementsByTagName("tbody").length, - // Make sure that you can get all elements in an <object> element - // IE 7 always returns no results - objectAll: !!div.getElementsByTagName("object")[0] - .getElementsByTagName("*").length, - // Make sure that link elements get serialized correctly by innerHTML // This requires a wrapper element in IE htmlSerialize: !!div.getElementsByTagName("link").length, |