Added a fix for bug #1612, where :contains() was failing on XML documents, in IE.
This commit is contained in:
parent
df246df2da
commit
1088d06e54
1 changed files with 1 additions and 1 deletions
|
@ -31,7 +31,7 @@ jQuery.extend({
|
|||
empty: "!a.firstChild",
|
||||
|
||||
// Text Check
|
||||
contains: "(a.textContent||a.innerText||'').indexOf(m[3])>=0",
|
||||
contains: "(a.textContent||a.innerText||jQuery(a).text()||'').indexOf(m[3])>=0",
|
||||
|
||||
// Visibility
|
||||
visible: '"hidden"!=a.type&&jQuery.css(a,"display")!="none"&&jQuery.css(a,"visibility")!="hidden"',
|
||||
|
|
Loading…
Reference in a new issue