I have to disable the use of hoverintent plugin, however I have no control over existing source code on the page. So at the moment I'm just throwing in a brick like so:
$("ul#accordion li").hoverIntent( null )
Is there a better way to do this than passing a null inst开发者_运维知识库ead of 'real' config elements?
thanks
How about overriding the plugin? Something like:
$.fn.hoverIntent = function(){ return $(this); };
精彩评论