From: Timmy Willison Date: Wed, 11 Sep 2013 13:46:08 +0000 (-0500) Subject: Fix context X-Git-Tag: 2.1.0-beta1~20 X-Git-Url: https://source.dussan.org/?a=commitdiff_plain;h=19de30ce0f781a4c126d0220f7a7651db4568e2d;p=jquery.git Fix context --- diff --git a/src/css/addGetHookIf.js b/src/css/addGetHookIf.js index 214af953a..7efcbc860 100644 --- a/src/css/addGetHookIf.js +++ b/src/css/addGetHookIf.js @@ -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 ); } }; }