FIX: jsHint fail

This commit is contained in:
Robin Ward 2014-12-30 13:18:25 -05:00
parent 2681717a87
commit 7b9768aa7f
1 changed files with 1 additions and 1 deletions

View File

@ -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; }