can just use $ here

This commit is contained in:
Brandon Aaron
2013-12-12 14:48:58 -05:00
parent 17b6d369e3
commit 84f0578a39
+1 -1
View File
@@ -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) {