From: Owen Leonard Date: Fri, 17 Jul 2020 13:20:45 +0000 (+0000) Subject: Bug 26004: Remove unused jQuery plugin jquery.hoverIntent.minified.js from the OPAC X-Git-Url: http://git.equinoxoli.org/?p=koha.git;a=commitdiff_plain;h=5d69ae18b5727d122575eb12a34f1712cb96b5b3 Bug 26004: Remove unused jQuery plugin jquery.hoverIntent.minified.js from the OPAC The jQuery plugin jquery.hoverIntent.minified.js hasn't been used in Koha in long time. This patch removes it from the OPAC. To test, apply the patch and search for instances of "hoverIntent." There should be none. Signed-off-by: Lucas Gass Signed-off-by: Josef Moravec Signed-off-by: Jonathan Druart --- diff --git a/koha-tmpl/opac-tmpl/bootstrap/lib/jquery/plugins/jquery.hoverIntent.minified.js b/koha-tmpl/opac-tmpl/bootstrap/lib/jquery/plugins/jquery.hoverIntent.minified.js deleted file mode 100644 index 4d8888b..0000000 --- a/koha-tmpl/opac-tmpl/bootstrap/lib/jquery/plugins/jquery.hoverIntent.minified.js +++ /dev/null @@ -1,9 +0,0 @@ -/** -* hoverIntent r5 // 2007.03.27 // jQuery 1.1.2+ -* -* -* @param f onMouseOver function || An object with configuration options -* @param g onMouseOut function || Nothing (use configuration options object) -* @author Brian Cherne -*/ -(function($){$.fn.hoverIntent=function(f,g){var cfg={sensitivity:7,interval:100,timeout:0};cfg=$.extend(cfg,g?{over:f,out:g}:f);var cX,cY,pX,pY;var track=function(ev){cX=ev.pageX;cY=ev.pageY;};var compare=function(ev,ob){ob.hoverIntent_t=clearTimeout(ob.hoverIntent_t);if((Math.abs(pX-cX)+Math.abs(pY-cY))