From fbcffd745445edc186b0a4ac9d2bdfa93d9af656 Mon Sep 17 00:00:00 2001 From: Zuriel Andrusyshyn Date: Sun, 15 Dec 2013 17:44:13 -0500 Subject: [PATCH] Update foundation.topbar.js On Single Page Apps, (Angular, etc) using # returns the application to the index page. Suggest replacing # with javascript:void(0) --- js/foundation/foundation.topbar.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/js/foundation/foundation.topbar.js b/js/foundation/foundation.topbar.js index 170892fc9..fb9b8960e 100644 --- a/js/foundation/foundation.topbar.js +++ b/js/foundation/foundation.topbar.js @@ -303,9 +303,9 @@ url = $link.attr('href'); if (settings.mobile_show_parent_link && url && url.length > 1) { - var $titleLi = $('
  • ' + $link.text() +'
  • '); + var $titleLi = $('
  • ' + $link.text() +'
  • '); } else { - var $titleLi = $('
  • '); + var $titleLi = $('
  • '); } // Copy link to subnav -- 2.47.2