From 84f0578a396be3e3d3a6d2c9eb9fd247ff40a940 Mon Sep 17 00:00:00 2001 From: Brandon Aaron Date: Thu, 12 Dec 2013 14:48:58 -0500 Subject: [PATCH] can just use $ here --- jquery.mousewheel.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/jquery.mousewheel.js b/jquery.mousewheel.js index 4c2178c95..b2a6a9c45 100755 --- a/jquery.mousewheel.js +++ b/jquery.mousewheel.js @@ -58,7 +58,7 @@ }, getLineHeight: function(elem) { - return parseInt($(elem)['offsetParent' in jQuery.fn ? 'offsetParent' : 'parent']().css('fontSize'), 10); + return parseInt($(elem)['offsetParent' in $.fn ? 'offsetParent' : 'parent']().css('fontSize'), 10); }, getPageHeight: function(elem) {