Commit 23eeaf38 authored by Ariel Flesler's avatar Ariel Flesler

jquery selector: closes #2939. $('[style]') wasn't being handled well.

parent a27b5d04
......@@ -336,7 +336,7 @@ jQuery.extend({
for ( var i = 0, rl = r.length; i < rl; i++ ) {
var a = r[i], z = a[ jQuery.props[m[2]] || m[2] ];
if ( z == null || /href|src|selected/.test(m[2]) )
if ( z == null || /style|href|src|selected/.test(m[2]) )
z = jQuery.attr(a,m[2]) || '';
if ( (type == "" && !!z ||
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment