fix jshint

This commit is contained in:
Régis Hanol 2014-01-06 15:45:30 +01:00
parent 87217d940e
commit c18a6827df
2 changed files with 2 additions and 3 deletions

View file

@ -137,7 +137,6 @@ Discourse.KeyboardShortcuts = Ember.Object.createWithMixins({
_changeSection: function(num) {
var $sections = $('#category-filter').find('li'),
$active = $sections.filter('.active'),
index = $sections.index('.active');
$sections.eq(index + num).find('a').click();

View file

@ -3,6 +3,6 @@
/**
Initialize Global Keyboard Shortcuts
**/
Discourse.addInitializer(function(){
Discourse.addInitializer(function() {
Discourse.KeyboardShortcuts.bindEvents(Mousetrap);
})
});