From dc10ce577999990d0575e3a5282b9e2db901b2e9 Mon Sep 17 00:00:00 2001 From: Owen Leonard Date: Wed, 12 Feb 2014 10:12:58 -0500 Subject: [PATCH] Bug 11749 - Remove unused jQuery plugin jquery.hoverIntent.minified.js from the staff client Content-Type: text/plain; charset="utf-8" The jQuery plugin jquery.hoverIntent.minified.js is used only in the OPAC, not the staff client. This patch removes it from the staff client. To test, apply the patch and search for instances of "hoverIntent." Only references in OPAC templates should be returned. --- .../jquery/plugins/jquery.hoverIntent.minified.js | 9 --------- 1 file changed, 9 deletions(-) delete mode 100644 koha-tmpl/intranet-tmpl/prog/en/lib/jquery/plugins/jquery.hoverIntent.minified.js diff --git a/koha-tmpl/intranet-tmpl/prog/en/lib/jquery/plugins/jquery.hoverIntent.minified.js b/koha-tmpl/intranet-tmpl/prog/en/lib/jquery/plugins/jquery.hoverIntent.minified.js deleted file mode 100644 index f86ad87..0000000 --- a/koha-tmpl/intranet-tmpl/prog/en/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))