From 823822dd584c04319ef222e73ff9d265ed325d7e Mon Sep 17 00:00:00 2001 From: Owen Leonard Date: Fri, 17 Jul 2020 13:20:45 +0000 Subject: [PATCH] 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 --- .../bootstrap/lib/jquery/plugins/jquery.hoverIntent.minified.js | 9 --------- 1 file changed, 9 deletions(-) delete mode 100644 koha-tmpl/opac-tmpl/bootstrap/lib/jquery/plugins/jquery.hoverIntent.minified.js 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 4d8888bb85..0000000000 --- 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))