I use this code in other projects and it works fine. I don't know what is wrong in my code. It works fine in Chrome but not in Firefox.
This is my code:
$('body').on({
'mousewheel': function(e) {
e.preventDefault();
e.stopPropagation();
}
});
body {
height: 5000px;
}
<script src="//code.jquery.com/jquery-1.11.3.min.js"></script>
Example jsFiddle.
The jQuery version in my project is 1.11.3.