We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 5aaaf69 commit 17b6d36Copy full SHA for 17b6d36
jquery.mousewheel.js
@@ -58,7 +58,7 @@
58
},
59
60
getLineHeight: function(elem) {
61
- return parseInt($(elem).offsetParent().css('fontSize'), 10);
+ return parseInt($(elem)['offsetParent' in jQuery.fn ? 'offsetParent' : 'parent']().css('fontSize'), 10);
62
63
64
getPageHeight: function(elem) {
0 commit comments