Skip to content

Commit

Permalink
fix for topbar parent link showing on medium
Browse files Browse the repository at this point in the history
  • Loading branch information
Rafi Benkual committed Apr 25, 2015
1 parent aab62c4 commit 5122552
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion js/foundation/foundation.topbar.js
Expand Up @@ -378,7 +378,7 @@
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 hide-for-large-up"><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-medium-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

0 comments on commit 5122552

Please sign in to comment.