mirror of
https://github.com/codeninjasllc/discourse.git
synced 2024-11-27 17:46:05 -05:00
FIX: jsHint fail
This commit is contained in:
parent
2681717a87
commit
7b9768aa7f
1 changed files with 1 additions and 1 deletions
|
@ -268,7 +268,7 @@ Discourse.KeyboardShortcuts = Ember.Object.createWithMixins({
|
|||
}
|
||||
},
|
||||
|
||||
_scrollList: function($article, direction) {
|
||||
_scrollList: function($article) {
|
||||
// Try to keep the article on screen
|
||||
var scrollPos = $article.position().top - ($(window).height() * 0.5);
|
||||
if (scrollPos < 0) { scrollPos = 0; }
|
||||
|
|
Loading…
Reference in a new issue