Allow mouse whell vertical scroll in jScrollPane
jScrollPane is a nice plugin. It even has mousewhell (scroll) support. But if pane is in the middle of your page and you are scrolling through the page, your moure (and page) will stop on pane. It is quite disturbing.
A simple solution (if you don’t need mouse scrolling at all) is to add following lines before your plugin invocation:
$(function () {
if ($.fn.mwheelIntent === undefined)
$.fn.mwheelIntent = function(){}
})
or if you don’t mind you can add this code directly in your plugin (only if it is not minified):
(function($,window,undefined){
if ($.fn.mwheelIntent === undefined)
$.fn.mwheelIntent = function(){}