diff options
author | Mike Greiling <mike@pixelcog.com> | 2017-06-24 09:44:16 +0300 |
---|---|---|
committer | Mike Greiling <mike@pixelcog.com> | 2017-06-26 22:10:01 +0300 |
commit | a7b603a2ac28a5c4c3e175cf4013c12d241b5452 (patch) | |
tree | 96009d25a4f943112c9409840755ccfa56a68436 /app/assets/javascripts/awards_handler.js | |
parent | b7a0044a70020bf97d9f1d604f126ab23db3dc93 (diff) |
fix method definition styling
Diffstat (limited to 'app/assets/javascripts/awards_handler.js')
-rw-r--r-- | app/assets/javascripts/awards_handler.js | 14 |
1 files changed, 2 insertions, 12 deletions
diff --git a/app/assets/javascripts/awards_handler.js b/app/assets/javascripts/awards_handler.js index 27b61a0c61f..c91c56ff0a5 100644 --- a/app/assets/javascripts/awards_handler.js +++ b/app/assets/javascripts/awards_handler.js @@ -252,13 +252,7 @@ export default class AwardsHandler { return $menu.css(css); } - addAward( - votesBlock, - awardUrl, - emoji, - checkMutuality, - callback, - ) { + addAward(votesBlock, awardUrl, emoji, checkMutuality, callback) { const normalizedEmoji = normalizeEmojiName(emoji); const $emojiButton = this.findEmojiIcon(votesBlock, normalizedEmoji).parent(); this.postEmoji($emojiButton, awardUrl, normalizedEmoji, () => { @@ -269,11 +263,7 @@ export default class AwardsHandler { $('.js-add-award.is-active').removeClass('is-active'); } - addAwardToEmojiBar( - votesBlock, - emoji, - checkForMutuality, - ) { + addAwardToEmojiBar(votesBlock, emoji, checkForMutuality) { if (checkForMutuality || checkForMutuality === null) { this.checkMutuality(votesBlock, emoji); } |