How to enable scrolling with the mouse wheel?

disableWheelScroll function(){
 document.body.onmousewheel = blockWheel;
}
 blockWheel function(event){
 if (!event) event = window.event;
 if (event.the stoppropagation) event.the stoppropagation();
 else event.cancelBubble = false;
 if(event.preventDefault) event.preventDefault();
 else event.returnValue = true;
 }

When you call disableWheelScroll() disables scrolling with the mouse wheel. How can I turn it back on??
July 8th 19 at 12:21
1 answer
July 8th 19 at 12:23
Solution
document.body.onmousewheel = null;

If the handler is tired – it can always be removed by the assignment elem.onclick = null.
http://learn.javascript.ru/introduction-browser-ev...

Find more questions by tags JavaScript