X-Git-Url: http://git.asbjorn.biz/?a=blobdiff_plain;f=src%2Fattributes.js;h=d3dfb72da2d417ca089679f220182f48ecbb3b1e;hb=f8ef75eb9124ce924be5fb521c783efd5c996e33;hp=22275adc03a2aebdafa27f1c65f5db3ce0c5042e;hpb=e06da1724cf05a83e14efa8b854348ac4e4a599a;p=jquery.git diff --git a/src/attributes.js b/src/attributes.js index 22275ad..d3dfb72 100644 --- a/src/attributes.js +++ b/src/attributes.js @@ -46,7 +46,7 @@ jQuery.fn.extend({ if ( elem ) { if( jQuery.nodeName( elem, 'option' ) ) return (elem.attributes.value || {}).specified ? elem.value : elem.text; - + // We need to handle select boxes special if ( jQuery.nodeName( elem, "select" ) ) { var index = elem.selectedIndex, @@ -75,7 +75,7 @@ jQuery.fn.extend({ } } - return values; + return values; } // Everything else, we just grab the value