Skip to content

Commit

Permalink
toggles fix
Browse files Browse the repository at this point in the history
  • Loading branch information
FrDH committed Oct 2, 2014
1 parent c22b5f7 commit ac79b66
Show file tree
Hide file tree
Showing 12 changed files with 21 additions and 21 deletions.
2 changes: 1 addition & 1 deletion bower.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "jQuery.mmenu",
"main": "src/js/jquery.mmenu.min.js",
"version": "4.5.6",
"version": "4.5.7",
"homepage": "http://mmenu.frebsite.nl/",
"authors": [
"Fred Heusschen <[email protected]>"
Expand Down
2 changes: 1 addition & 1 deletion mmenu.jquery.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "mmenu",
"version": "4.5.6",
"version": "4.5.7",
"title": "jQuery mmenu",
"description": "The best jQuery plugin for app look-alike on- and off-canvas menus with sliding submenus for your website and webapp.",
"keywords": [
Expand Down
2 changes: 1 addition & 1 deletion src/js/addons/jquery.mmenu.toggles.js
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,7 @@
$prnt.prepend( $inpt );

$('<label for="' + id + '" class="' + _c[ cl ] + '"></label>')
.insertBefore( $prnt.children( 'a' ).last() );
.insertBefore( $prnt.children( 'a, span' ).last() );
}
}
);
Expand Down
2 changes: 1 addition & 1 deletion src/js/addons/jquery.mmenu.toggles.min.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

6 changes: 3 additions & 3 deletions src/js/jquery.mmenu.min.all.js

Large diffs are not rendered by default.

4 changes: 2 additions & 2 deletions src/js/jquery.mmenu.min.js

Large diffs are not rendered by default.

4 changes: 2 additions & 2 deletions src/js/jquery.mmenu.oncanvas.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/*
* jQuery mmenu v4.5.6
* jQuery mmenu v4.5.7
* @requires jQuery 1.7.0 or later
*
* mmenu.frebsite.nl
Expand All @@ -15,7 +15,7 @@
(function( $ ) {

var _PLUGIN_ = 'mmenu',
_VERSION_ = '4.5.6';
_VERSION_ = '4.5.7';


// Plugin already excists
Expand Down
4 changes: 2 additions & 2 deletions src/js/jquery.mmenu.oncanvas.min.js

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion src/js/umd/addons/jquery.mmenu.toggles.umd.js
Original file line number Diff line number Diff line change
Expand Up @@ -23,5 +23,5 @@
*
* Copyright (c) Fred Heusschen
*/
!function(t){function e(t){return t}function s(t){return t}function c(){r=!0,n=t[a]._c,o=t[a]._d,l=t[a]._e,n.add("toggle check"),h=t[a].glbl}var a="mmenu",i="toggles";t[a].prototype["_init_"+i]=function(a){r||c();var o=this.vars[i+"_added"];this.vars[i+"_added"]=!0,o||(this.opts[i]=e(this.opts[i]),this.conf[i]=s(this.conf[i]));var l=this;this.opts[i],this.conf[i],this.__refactorClass(t("input",a),this.conf.classNames[i].toggle,"toggle"),this.__refactorClass(t("input",a),this.conf.classNames[i].check,"check"),t("input."+n.toggle,a).add("input."+n.check,a).each(function(){var e=t(this),s=e.closest("li"),c=e.hasClass(n.toggle)?"toggle":"check",a=e.attr("id")||l.__getUniqueId();s.children('label[for="'+a+'"]').length||(e.attr("id",a),s.prepend(e),t('<label for="'+a+'" class="'+n[c]+'"></label>').insertBefore(s.children("a").last()))})},t[a].addons.push(i),t[a].defaults[i]={},t[a].configuration.classNames[i]={toggle:"Toggle",check:"Check"};var n,o,l,h,r=!1}(jQuery);
!function(t){function s(t){return t}function e(t){return t}function a(){r=!0,n=t[c]._c,o=t[c]._d,l=t[c]._e,n.add("toggle check"),h=t[c].glbl}var c="mmenu",i="toggles";t[c].prototype["_init_"+i]=function(c){r||a();var o=this.vars[i+"_added"];this.vars[i+"_added"]=!0,o||(this.opts[i]=s(this.opts[i]),this.conf[i]=e(this.conf[i]));var l=this;this.opts[i],this.conf[i],this.__refactorClass(t("input",c),this.conf.classNames[i].toggle,"toggle"),this.__refactorClass(t("input",c),this.conf.classNames[i].check,"check"),t("input."+n.toggle,c).add("input."+n.check,c).each(function(){var s=t(this),e=s.closest("li"),a=s.hasClass(n.toggle)?"toggle":"check",c=s.attr("id")||l.__getUniqueId();e.children('label[for="'+c+'"]').length||(s.attr("id",c),e.prepend(s),t('<label for="'+c+'" class="'+n[a]+'"></label>').insertBefore(e.children("a, span").last()))})},t[c].addons.push(i),t[c].defaults[i]={},t[c].configuration.classNames[i]={toggle:"Toggle",check:"Check"};var n,o,l,h,r=!1}(jQuery);
}));
4 changes: 2 additions & 2 deletions src/js/umd/jquery.mmenu.oncanvas.umd.js

Large diffs are not rendered by default.

6 changes: 3 additions & 3 deletions src/js/umd/jquery.mmenu.umd.all.js

Large diffs are not rendered by default.

4 changes: 2 additions & 2 deletions src/js/umd/jquery.mmenu.umd.js

Large diffs are not rendered by default.

0 comments on commit ac79b66

Please sign in to comment.