From af84ece6cfc3e8312fd141dd114845bc8036764d Mon Sep 17 00:00:00 2001 From: Sol Villar Date: Thu, 5 Mar 2015 03:47:57 -0300 Subject: [PATCH] [#427] Fixed marking of nav buttons as active. --- src/view.multiview.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/view.multiview.js b/src/view.multiview.js index 17e0ae12..d5f9d315 100644 --- a/src/view.multiview.js +++ b/src/view.multiview.js @@ -301,8 +301,8 @@ my.MultiView = Backbone.View.extend({ }, updateNav: function(pageName) { - this.$el.find('.navigation a').removeClass('active'); - var $el = this.$el.find('.navigation a[data-view="' + pageName + '"]'); + this.$el.find('.navigation button').removeClass('active'); + var $el = this.$el.find('.navigation button[data-view="' + pageName + '"]'); $el.addClass('active'); // add/remove sidebars and hide inactive views