Skip to content

Commit ec4bae8

Browse files
committed
[FIX] for mobile_show_parent_link
1 parent dc6d2ca commit ec4bae8

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

js/foundation/foundation.topbar.js

+1-3
Original file line numberDiff line numberDiff line change
@@ -353,10 +353,8 @@
353353
if (!$dropdown.find('.title.back').length) {
354354

355355
if (settings.mobile_show_parent_link == true && url && url.length > 1) {
356-
console.log('Parent On');
357-
$titleLi = $('<li class="title back js-generated"><h5><a href="javascript:void(0)"></a></h5></li><li class="parent-link show-for-small"><h6><a class="parent-link js-generated" href="#">' + $link.html() +'</a></h6></li>');
356+
$titleLi = $('<li class="title back js-generated"><h5><a href="javascript:void(0)"></a></h5></li><li class="parent-link show-for-small"><h6><a class="parent-link js-generated" href="' + url + '">' + $link.html() +'</a></h6></li>');
358357
} else {
359-
console.log('Parent off');
360358
$titleLi = $('<li class="title back js-generated"><h5><a href="javascript:void(0)"></a></h5>');
361359
}
362360

0 commit comments

Comments
 (0)