mirror of
https://github.com/discourse/discourse.git
synced 2025-02-25 18:55:32 -06:00
fix jshint
This commit is contained in:
parent
87217d940e
commit
c18a6827df
@ -137,7 +137,6 @@ Discourse.KeyboardShortcuts = Ember.Object.createWithMixins({
|
|||||||
|
|
||||||
_changeSection: function(num) {
|
_changeSection: function(num) {
|
||||||
var $sections = $('#category-filter').find('li'),
|
var $sections = $('#category-filter').find('li'),
|
||||||
$active = $sections.filter('.active'),
|
|
||||||
index = $sections.index('.active');
|
index = $sections.index('.active');
|
||||||
|
|
||||||
$sections.eq(index + num).find('a').click();
|
$sections.eq(index + num).find('a').click();
|
||||||
|
@ -5,4 +5,4 @@
|
|||||||
**/
|
**/
|
||||||
Discourse.addInitializer(function() {
|
Discourse.addInitializer(function() {
|
||||||
Discourse.KeyboardShortcuts.bindEvents(Mousetrap);
|
Discourse.KeyboardShortcuts.bindEvents(Mousetrap);
|
||||||
})
|
});
|
||||||
|
Loading…
Reference in New Issue
Block a user