Howdy, Stranger!

It looks like you're new here. If you want to get involved, click one of these buttons!

Problem with me on line if (a.originalEvent.wheelDelta ? b = a.originalEvent.wheelDelta / 120

Hello This line causes some problem with my site:
if (a.originalEvent.wheelDelta ? b = a.originalEvent.wheelDelta / 120 : a.originalEvent.detail && (b = -a.originalEvent.detail / 3), b) {

after i deleted this line everything work perfectly so i just need to know this line is important or what can i do ?

deleted all this or what:

! function() {
function a(a) {
var b;
if (a.originalEvent.wheelDelta ? b = a.originalEvent.wheelDelta / 120 : a.originalEvent.detail && (b = -a.originalEvent.detail / 3), b) {
var c = $.Event("lightview:mousewheel");
$(a.target).trigger(c, b), c.isPropagationStopped() && a.stopPropagation(), c.isDefaultPrevented() && a.preventDefault()
}
}
$(document.documentElement).bind("mousewheel DOMMouseScroll", a)
}

thanks

Comments

Sign In or Register to comment.