Skip to content

Commit

Permalink
New release
Browse files Browse the repository at this point in the history
  • Loading branch information
ComputerWolf committed Jun 7, 2015
1 parent 9f3cbb5 commit 38593c5
Show file tree
Hide file tree
Showing 5 changed files with 14 additions and 9 deletions.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# SlickNav v1.0.3
# SlickNav v1.0.4
## Responsive Mobile Menu jQuery Plugin

###[SlickNav.com](http://slicknav.com)
Expand Down
2 changes: 1 addition & 1 deletion bower.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "slicknav",
"version": "1.0.3",
"version": "1.0.4",
"authors": [
"Josh Cope"
],
Expand Down
13 changes: 9 additions & 4 deletions dist/jquery.slicknav.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/*!
* SlickNav Responsive Mobile Menu v1.0.3
* SlickNav Responsive Mobile Menu v1.0.4
* (c) 2015 Josh Cope
* licensed under MIT
*/
Expand Down Expand Up @@ -128,7 +128,7 @@
// check for anchors

var a = item.contents(),
containsAnchor = false;
containsAnchor = false,
nodes = [];

$(a).each(function () {
Expand All @@ -154,11 +154,16 @@
} else
$(nodes).wrapAll('<span class="'+prefix+'_parent-link '+prefix+'_row"/>').parent();

item.addClass(prefix+'_collapsed');
if (!settings.showChildren) {
item.addClass(prefix+'_collapsed');
} else {
item.addClass(prefix+'_open');
}

item.addClass(prefix+'_parent');

// create parent arrow. wrap with link if parent links and separating
var arrowElement = $('<span class="'+prefix+'_arrow">'+settings.closedSymbol+'</span>');
var arrowElement = $('<span class="'+prefix+'_arrow">'+(settings.showChildren?settings.openedSymbol:settings.closedSymbol)+'</span>');

if (settings.allowParentLinks && !settings.nestedParentLinks && containsAnchor)
arrowElement = arrowElement.wrap(wrapElement).parent();
Expand Down
4 changes: 2 additions & 2 deletions dist/jquery.slicknav.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,5 +1,5 @@
{
"version": "1.0.3",
"version": "1.0.4",
"name": "slicknav",
"description": "",
"keywords": [
Expand Down

0 comments on commit 38593c5

Please sign in to comment.