mirror of
https://github.com/codeninjasllc/discourse.git
synced 2024-11-28 01:56:01 -05:00
fix jshint
This commit is contained in:
parent
87217d940e
commit
c18a6827df
2 changed files with 2 additions and 3 deletions
|
@ -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();
|
||||
|
|
|
@ -3,6 +3,6 @@
|
|||
/**
|
||||
Initialize Global Keyboard Shortcuts
|
||||
**/
|
||||
Discourse.addInitializer(function(){
|
||||
Discourse.addInitializer(function() {
|
||||
Discourse.KeyboardShortcuts.bindEvents(Mousetrap);
|
||||
})
|
||||
});
|
||||
|
|
Loading…
Reference in a new issue