Removed the objectAll check from jQuery.support, was causing problems with broken ActiveX controls. Fixes bug #4017.
This commit is contained in:
parent
f1f5cd9f6a
commit
6914fc2969
|
@ -8,7 +8,7 @@
|
||||||
id = "script" + (new Date).getTime();
|
id = "script" + (new Date).getTime();
|
||||||
|
|
||||||
div.style.display = "none";
|
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("*"),
|
var all = div.getElementsByTagName("*"),
|
||||||
a = div.getElementsByTagName("a")[0];
|
a = div.getElementsByTagName("a")[0];
|
||||||
|
@ -26,11 +26,6 @@
|
||||||
// IE will insert them into empty tables
|
// IE will insert them into empty tables
|
||||||
tbody: !div.getElementsByTagName("tbody").length,
|
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
|
// Make sure that link elements get serialized correctly by innerHTML
|
||||||
// This requires a wrapper element in IE
|
// This requires a wrapper element in IE
|
||||||
htmlSerialize: !!div.getElementsByTagName("link").length,
|
htmlSerialize: !!div.getElementsByTagName("link").length,
|
||||||
|
|
Loading…
Reference in a new issue