Just wanted to post an update to the jquery.slimmenu.min.js file. I believe that this update fixes the problem that some users were having with long category lists and the menu collapsing on touch devices.
Just replace the includes/templates/westminster_new/jscript/jquery.slimmenu.min.js file with the following:
/**
* jquery.slimmenu.js
* http://adnantopal.github.io/slimmenu/
* Author: @adnantopal
* Copyright 2013, Adnan Topal (atopal.com)
* Licensed under the MIT license.
* update by dusty73 https://github.com/dusty73/slimmenu/commit/70d5c15bdbefeb2bad8f96d6387719c88b84d1e6
*/
(function(e,t,n,r){function u(t,n){this.element=t;this.$elem=e(this.element);this.options=e.extend({},s,n);this.init()}var i="slimmenu",s={resizeWidth:"768",collapserTitle:"Main Menu",animSpeed:"medium",easingEffect:null,indentChildren:false,childrenIndenter:" "};var o=0;u.prototype={init:function(){var n=this.options,r=this.$elem,i='<div class="menu-collapser">'+n.collapserTitle+'<div class="collapse-button"><span class="icon-bar"></span><span class="icon-bar"></span><span class="icon-bar"></span></div></div>',s;r.before(i);s=r.prev(".menu-collapser");r.on("click",".sub-collapser",function(t){t.preventDefault();t.stopPropagation();var r=e(this).closest("li");if(e(this).hasClass("expanded")){e(this).removeClass("expanded");e(this).find("i").html("▼");r.find(">ul").slideUp(n.animSpeed,n.easingEffect)}else{e(this).addClass("expanded");e(this).find("i").html("▲");r.find(">ul").slideDown(n.animSpeed,n.easingEffect)}});s.on("click",".collapse-button",function(e){e.preventDefault();r.slideToggle(n.animSpeed,n.easingEffect)});this.resizeMenu({data:{el:this.element,options:this.options}});e(t).on("resize",{el:this.element,options:this.options},this.resizeMenu)},resizeMenu:function(n){var r=e(t),i=n.data.options,s=e(n.data.el),a=e("body").find(".menu-collapser");if(o==r.width()){return}o=r.width();s.find("li").each(function(){if(e(this).has("ul").length){if(e(this).has(".sub-collapser").length){e(this).children(".sub-collapser i").html("▼")}else{e(this).append('<span class="sub-collapser"><i>▼</i></span>')}}e(this).children("ul").hide();e(this).find(".sub-collapser").removeClass("expanded").children("i").html("▼")});if(i.resizeWidth>=r.width()){if(i.indentChildren){s.find("ul").each(function(){var t=e(this).parents("ul").length;if(!e(this).children("li").children("a").has("i").length){e(this).children("li").children("a").prepend(u.prototype.indent(t,i))}})}s.find("li").has("ul").off("mouseenter mouseleave");s.addClass("collapsed").hide();a.show()}else{s.find("li").has("ul").on("mouseenter",function(){e(this).find(">ul").stop().slideDown(i.animSpeed,i.easingEffect)}).on("mouseleave",function(){e(this).find(">ul").stop().slideUp(i.animSpeed,i.easingEffect)});s.find("li > a > i").remove();s.removeClass("collapsed").show();a.hide()}},indent:function(e,t){var n="";for(var r=0;r<e;r++){n+=t.childrenIndenter}return"<i>"+n+"</i>"}};e.fn[i]=function(t){return this.each(function(){if(!e.data(this,"plugin_"+i)){e.data(this,"plugin_"+i,new u(this,t))}})}})(jQuery,window,document)
I will include this in the next template update also.
Thanks,
Anne