Minor UI tweaks

This commit is contained in:
Mark McDowall
2013-02-27 20:48:31 -08:00
parent c935db93dd
commit a80c2fb1f3
7 changed files with 7 additions and 11 deletions

View File

@@ -8,7 +8,6 @@
'click a': 'onClick'
},
onClick: function (event) {
event.preventDefault();
@@ -38,15 +37,13 @@
},
setActive: function (element) {
this.$('a').removeClass('active');
$(element).addClass('active');
},
initialize: function () {
console.log('menue');
console.log('menu');
this.setElement($('#main-menu-region'));
}
});