]> source.dussan.org Git - jquery.git/commitdiff
Fix context
authorTimmy Willison <timmywillisn@gmail.com>
Wed, 11 Sep 2013 13:46:08 +0000 (08:46 -0500)
committerTimmy Willison <timmywillisn@gmail.com>
Wed, 11 Sep 2013 13:46:08 +0000 (08:46 -0500)
src/css/addGetHookIf.js

index 214af953a808ef411f1787c410331fb7628fad42..7efcbc860eaec46cf3295cbc7422a16d9cecf79c 100644 (file)
@@ -22,7 +22,7 @@ function addGetHookIf( conditionFn, hookFn ) {
 
                        // Hook needed; redefine it so that the support test is not executed again.
 
-                       return (this.get = hookFn).apply( hookVar, arguments );
+                       return (this.get = hookFn).apply( this, arguments );
                }
        };
 }