diff --git a/js/views/header/menu.js b/js/views/header/menu.js index 0033514..2e849dc 100644 --- a/js/views/header/menu.js +++ b/js/views/header/menu.js @@ -10,14 +10,14 @@ define([ }, render: function () { $(this.el).html(headerMenuTemplate); - $('a[href="' + window.location.hash + '"]').addClass('active'); + $('a[href="' + window.location.hash + '"]').parent().addClass('active'); }, events: { 'click a': 'highlightMenuItem' }, highlightMenuItem: function (ev) { $('.active').removeClass('active'); - $(ev.currentTarget).addClass('active'); + $(ev.currentTarget).parent().addClass('active'); } })