mirror of
https://github.com/librenms/librenms.git
synced 2024-10-07 16:52:45 +00:00
Fix for brandonaaron/jquery-mousewheel#3 - new mousewheel plugin wasn't working in IE...
This commit is contained in:
Kelvin Luck
committed by
Brandon Aaron
parent
1e79a6f543
commit
5ef1603eba
1
jquery.mousewheel.js
Normal file → Executable file
1
jquery.mousewheel.js
Normal file → Executable file
@ -50,6 +50,7 @@ $.fn.extend({
|
||||
function handler(event) {
|
||||
var orgEvent = event, args = [].slice.call( arguments, 1 ), delta = 0, returnValue = true, deltaX = 0, deltaY = 0;
|
||||
|
||||
var orgEvent = event || window.event, args = [].slice.call( arguments, 1 ), delta = 0, returnValue = true, deltaX = 0, deltaY = 0;
|
||||
event = $.event.fix(event || window.event);
|
||||
event.type = "mousewheel";
|
||||
|
||||
|
Reference in New Issue
Block a user