Skip to content

Commit

Permalink
failsafe for anchors without href
Browse files Browse the repository at this point in the history
  • Loading branch information
FrDH committed Jul 15, 2014
1 parent 170b14b commit 43946cb
Show file tree
Hide file tree
Showing 9 changed files with 17 additions and 17 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.3.4",
"version": "4.3.5",
"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.3.4",
"version": "4.3.5",
"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
4 changes: 2 additions & 2 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.

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

var _PLUGIN_ = 'mmenu',
_VERSION_ = '4.3.4';
_VERSION_ = '4.3.5';


// Plugin already excists
Expand Down Expand Up @@ -369,7 +369,7 @@
function( e )
{
var $t = $(this),
href = $t.attr( 'href' );
href = $t.attr( 'href' ) || '';

// Set selected item
if ( that.__valueOrFn( that.opts.onClick.setSelected, $t ) )
Expand Down
4 changes: 2 additions & 2 deletions src/js/jquery.mmenu.oncanvas.min.js

Large diffs are not rendered by default.

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

Large diffs are not rendered by default.

4 changes: 2 additions & 2 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 43946cb

Please sign in to comment.