Skip to content

Commit

Permalink
change version
Browse files Browse the repository at this point in the history
  • Loading branch information
A1Gard committed Apr 20, 2021
1 parent f64760a commit e6b8d0f
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 10 deletions.
13 changes: 6 additions & 7 deletions dist/rvnm.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/*
* rvnm - v1.3.3
* rvnm - v1.4.0
* Responsive vertical navigation menu
* https://github.com/4xmen/rvnm#readme
*
Expand Down Expand Up @@ -254,11 +254,10 @@

// click an nav box when has rvnm-mobile class
$(document).on('click', '.rvnm-mobile', function (e) {
console.log($(e.target).attr('href'));
if (e.target !== e.currentTarget && e.target.tagName != 'A' && $(e.target).attr('href') !== undefined && $(e.target).attr('href') == '#')
return false;
// try to expand menu
$(this).toggleClass('rvnm-mobile-expand');

if (e.target === e.currentTarget && $(e.currentTarget).hasClass('rvnm-navbar-box')) {
$(this).toggleClass('rvnm-mobile-expand');
}
});

// on mouseenter when menu is minimal
Expand All @@ -276,7 +275,7 @@
$(this).removeClass('rvnm-minimal-expand');
});

$(window).on('load',function () {
$(window).on('load', function () {
setTimeout(function () {
self.sizetrigger();
}, 100);
Expand Down
4 changes: 2 additions & 2 deletions dist/rvnm.min.js

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

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "rvnm",
"version": "1.3.3",
"version": "1.4.0",
"description": "Responsive vertical navigation menu",
"main": "index.js",
"scripts": {
Expand Down

0 comments on commit e6b8d0f

Please sign in to comment.