patch jquery for insights

more-scalatags
Thibault Duplessis 2019-04-15 07:42:55 +07:00
parent 4754546476
commit 6b50c7c059
1 changed files with 7 additions and 0 deletions

View File

@ -16,3 +16,10 @@ module.exports = function(element, opts) {
return controller;
};
// for multiple-select
jQuery.fn.extend( {
hover: function( fnOver, fnOut ) {
return this.on('mouseenter', fnOver ).on('mouseleave', fnOut || fnOver );
}
} );