Skip to content

Commit

Permalink
Minification/symbol obfuscation process broke it previously
Browse files Browse the repository at this point in the history
  • Loading branch information
Matt Stow committed Oct 8, 2012
1 parent ae9bd0a commit 460299f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion jquery.izilla.touchMenuHover.min.js
Expand Up @@ -9,4 +9,4 @@
* Licensed under the MIT license
*
*/
;(function(a){a.fn.touchMenuHover=function(d){var f=a.extend({childTag:"ul",closeElement:"",forceiOS:false},d);var h=this.find("a"),c="3ds|android|bada|hpwos|iemobile|kindle fire|opera mini|opera mobi|playbook|silk",e="|ipad|ipod|iphone",i,g="touch-open",b="html";if(f.childTag.toString().toLowerCase()!="ul"||f.forceiOS){c+=e}i=new RegExp(c,"gi");if(h.length>0&&i.test(navigator.userAgent)){h.each(function(){var j=a(this).parent("li").siblings().find("a");a(this).click(function(k){k.stopPropagation();j.removeClass(g);if(!a(this).hasClass(g)&&a(this).next(f.childTag).length>0){k.preventDefault();a(this).addClass(g)}})});if(f.closeElement.length>1){b+=","+f.closeElement}a(b).click(function(){h.removeClass(g)})}return this}})(jQuery);
;(function($){$.fn.touchMenuHover=function(d){var f=$.extend({childTag:"ul",closeElement:"",forceiOS:false},d);var h=this.find("a"),c="3ds|android|bada|hpwos|iemobile|kindle fire|opera mini|opera mobi|playbook|silk",e="|ipad|ipod|iphone",i,g="touch-open",b="html";if(f.childTag.toString().toLowerCase()!="ul"||f.forceiOS){c+=e}i=new RegExp(c,"gi");if(h.length>0&&i.test(navigator.userAgent)){h.each(function(){var j=$(this).parent("li").siblings().find("a");$(this).click(function(k){k.stopPropagation();j.removeClass(g);if(!$(this).hasClass(g)&&$(this).next(f.childTag).length>0){k.preventDefault();$(this).addClass(g)}})});if(f.closeElement.length>1){b+=","+f.closeElement}$(b).click(function(){h.removeClass(g)})}return this}})(jQuery);

0 comments on commit 460299f

Please sign in to comment.