Skip to content

Commit

Permalink
Merge pull request #87 from thegands/gh-pages
Browse files Browse the repository at this point in the history
Prevent title link from dissapearing from subnav for navigation dropdowns on medium screen displays
  • Loading branch information
Phlow committed Feb 16, 2016
2 parents 60f249a + e1bcc02 commit 9f3f272
Show file tree
Hide file tree
Showing 2 changed files with 735 additions and 7 deletions.
4 changes: 2 additions & 2 deletions assets/js/javascript.js
Original file line number Diff line number Diff line change
Expand Up @@ -2431,7 +2431,7 @@ function FastClick(a,b){"use strict";function c(a,b){return function(){return a.
if (!$dropdown.find('.title.back').length) {

if (settings.mobile_show_parent_link == true && url) {
$titleLi = $('<li class="title back js-generated"><h5><a href="javascript:void(0)"></a></h5></li><li class="parent-link show-for-small-only"><a class="parent-link js-generated" href="' + url + '">' + $link.html() +'</a></li>');
$titleLi = $('<li class="title back js-generated"><h5><a href="javascript:void(0)"></a></h5></li><li class="parent-link hide-for-large-up"><a class="parent-link js-generated" href="' + url + '">' + $link.html() +'</a></li>');
} else {
$titleLi = $('<li class="title back js-generated"><h5><a href="javascript:void(0)"></a></h5>');
}
Expand Down Expand Up @@ -3346,4 +3346,4 @@ $(document).foundation({
animation: 'fade',
animation_speed: 250
}
});
});
Loading

0 comments on commit 9f3f272

Please sign in to comment.