]> source.dussan.org Git - jquery.git/commitdiff
Unnecessary var removed.
authortimmywil <tim.willison@thisismedium.com>
Wed, 18 May 2011 15:59:21 +0000 (11:59 -0400)
committertimmywil <tim.willison@thisismedium.com>
Wed, 18 May 2011 15:59:21 +0000 (11:59 -0400)
src/attributes.js

index ba820145a4c22b9d83172a3abe960d59dc5fc1b2..c239dd7f384f8143abf7c53f259dbeed9812dbb7 100644 (file)
@@ -495,7 +495,6 @@ boolHook = {
 // Use the formHook for button elements in IE6/7 (#1954)
 jQuery.attrHooks.value = {
        get: function( elem, name ) {
-               var ret;
                if ( formHook && jQuery.nodeName( elem, "button" ) ) {
                        return formHook.get( elem, name );
                }