mirror of
https://github.com/discourse/discourse.git
synced 2025-02-16 08:15:00 +00:00
BUGFIX: don't move selection when nothing is selected
This commit is contained in:
parent
87dd681497
commit
871f2113e4
@ -213,6 +213,8 @@ Discourse.KeyboardShortcuts = Ember.Object.createWithMixins({
|
||||
if(index >= $articles.length){
|
||||
index = $articles.length - 1;
|
||||
}
|
||||
|
||||
direction = 0;
|
||||
}
|
||||
|
||||
var $article = $articles.eq(index + direction);
|
||||
|
Loading…
x
Reference in New Issue
Block a user