diff --git a/app/views/static_pages/about_us.html.erb b/app/views/static_pages/about_us.html.erb index 9c9fd5a..57d8073 100644 --- a/app/views/static_pages/about_us.html.erb +++ b/app/views/static_pages/about_us.html.erb @@ -3,9 +3,7 @@ var hash = window.location.hash; hash && $('ul.nav a[href="' + hash + '"]').tab('show'); - $('.nav-tabs a').click(function (e) { - -// TODO: .nav-tabs a is not specific enough. This is interfering with top nav bar functionality + $('#project-tabs .nav-tabs a').click(function (e) { console.log("This: " + $(this).attr('href')); $(this).tab('show'); diff --git a/app/views/static_pages/help.html.erb b/app/views/static_pages/help.html.erb index b3d76be..9e566c2 100644 --- a/app/views/static_pages/help.html.erb +++ b/app/views/static_pages/help.html.erb @@ -3,7 +3,7 @@ var hash = window.location.hash; hash && $('ul.nav a[href="' + hash + '"]').tab('show'); - $('.nav-tabs a').click(function (e) { + $('#project-tabs .nav-tabs a').click(function (e) { $(this).tab('show'); var scrollmem = $('body').scrollTop(); window.location.hash = this.hash; diff --git a/app/views/static_pages/roadmap.html.erb b/app/views/static_pages/roadmap.html.erb index 94b587d..dbb47db 100644 --- a/app/views/static_pages/roadmap.html.erb +++ b/app/views/static_pages/roadmap.html.erb @@ -3,7 +3,7 @@ var hash = window.location.hash; hash && $('ul.nav a[href="' + hash + '"]').tab('show'); - $('.nav-tabs a').click(function (e) { + $('#project-tabs .nav-tabs a').click(function (e) { $(this).tab('show'); var scrollmem = $('body').scrollTop(); window.location.hash = this.hash;