diff options
author | Daniel Friesel <derf@finalrewind.org> | 2021-04-18 21:37:33 +0200 |
---|---|---|
committer | Daniel Friesel <derf@finalrewind.org> | 2021-04-18 21:37:33 +0200 |
commit | a2423adab4de94ad5faf1516bcc24b6633bb91e6 (patch) | |
tree | 8086e109a1826daa24123f7a0230e3f2b8599258 /share/js/jquery.mousewheel-3.0.6.pack.js | |
parent | 0dd6c2df5037c22a67f646944a69b77c6fe0ba69 (diff) |
Switch to glightbox
Diffstat (limited to 'share/js/jquery.mousewheel-3.0.6.pack.js')
-rw-r--r-- | share/js/jquery.mousewheel-3.0.6.pack.js | 13 |
1 files changed, 0 insertions, 13 deletions
diff --git a/share/js/jquery.mousewheel-3.0.6.pack.js b/share/js/jquery.mousewheel-3.0.6.pack.js deleted file mode 100644 index e39a83a..0000000 --- a/share/js/jquery.mousewheel-3.0.6.pack.js +++ /dev/null @@ -1,13 +0,0 @@ -/*! Copyright (c) 2011 Brandon Aaron (http://brandonaaron.net) - * Licensed under the MIT License (LICENSE.txt). - * - * Thanks to: http://adomas.org/javascript-mouse-wheel/ for some pointers. - * Thanks to: Mathias Bank(http://www.mathias-bank.de) for a scope bug fix. - * Thanks to: Seamus Leahy for adding deltaX and deltaY - * - * Version: 3.0.6 - * - * Requires: 1.2.2+ - */ -(function(d){function e(a){var b=a||window.event,c=[].slice.call(arguments,1),f=0,e=0,g=0,a=d.event.fix(b);a.type="mousewheel";b.wheelDelta&&(f=b.wheelDelta/120);b.detail&&(f=-b.detail/3);g=f;b.axis!==void 0&&b.axis===b.HORIZONTAL_AXIS&&(g=0,e=-1*f);b.wheelDeltaY!==void 0&&(g=b.wheelDeltaY/120);b.wheelDeltaX!==void 0&&(e=-1*b.wheelDeltaX/120);c.unshift(a,f,e,g);return(d.event.dispatch||d.event.handle).apply(this,c)}var c=["DOMMouseScroll","mousewheel"];if(d.event.fixHooks)for(var h=c.length;h;)d.event.fixHooks[c[--h]]= -d.event.mouseHooks;d.event.special.mousewheel={setup:function(){if(this.addEventListener)for(var a=c.length;a;)this.addEventListener(c[--a],e,false);else this.onmousewheel=e},teardown:function(){if(this.removeEventListener)for(var a=c.length;a;)this.removeEventListener(c[--a],e,false);else this.onmousewheel=null}};d.fn.extend({mousewheel:function(a){return a?this.bind("mousewheel",a):this.trigger("mousewheel")},unmousewheel:function(a){return this.unbind("mousewheel",a)}})})(jQuery);
\ No newline at end of file |