diff options
author | Valery Sizov <valery@gitlab.com> | 2016-04-22 13:25:32 +0300 |
---|---|---|
committer | Valery Sizov <valery@gitlab.com> | 2016-04-26 11:25:58 +0300 |
commit | 180c45b37ee16c24ddcb5c26a631dbca4ac76335 (patch) | |
tree | 879d8b6c0ca2d96c6e4c158ba12cf0b541e2d944 /app/assets/javascripts/notes.js.coffee | |
parent | 6ff740ff9484691750f3eadf12125fd362efe61c (diff) |
AwardsHandler follows code style conventions
Diffstat (limited to 'app/assets/javascripts/notes.js.coffee')
-rw-r--r-- | app/assets/javascripts/notes.js.coffee | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/app/assets/javascripts/notes.js.coffee b/app/assets/javascripts/notes.js.coffee index 82e210fed7d..efb3e8e2198 100644 --- a/app/assets/javascripts/notes.js.coffee +++ b/app/assets/javascripts/notes.js.coffee @@ -167,8 +167,8 @@ class @Notes return if note.award - awards_handler.addAwardToEmojiBar(note.note) - awards_handler.scrollToAwards() + awardsHandler.addAwardToEmojiBar(note.note) + awardsHandler.scrollToAwards() # render note if it not present in loaded list # or skip if rendered @@ -373,11 +373,11 @@ class @Notes new GLForm form if scrollTo? and myLastNote? - # scroll to the bottom + # scroll to the bottom # so the open of the last element doesn't make a jump $('html, body').scrollTop($(document).height()); $('html, body').animate({ - scrollTop: myLastNote.offset().top - 150 + scrollTop: myLastNote.offset().top - 150 }, 500, -> $noteText = form.find(".js-note-text") $noteText.focus() |