Commit a7b603a2 authored by Mike Greiling's avatar Mike Greiling

fix method definition styling

parent b7a0044a
...@@ -252,13 +252,7 @@ export default class AwardsHandler { ...@@ -252,13 +252,7 @@ export default class AwardsHandler {
return $menu.css(css); return $menu.css(css);
} }
addAward( addAward(votesBlock, awardUrl, emoji, checkMutuality, callback) {
votesBlock,
awardUrl,
emoji,
checkMutuality,
callback,
) {
const normalizedEmoji = normalizeEmojiName(emoji); const normalizedEmoji = normalizeEmojiName(emoji);
const $emojiButton = this.findEmojiIcon(votesBlock, normalizedEmoji).parent(); const $emojiButton = this.findEmojiIcon(votesBlock, normalizedEmoji).parent();
this.postEmoji($emojiButton, awardUrl, normalizedEmoji, () => { this.postEmoji($emojiButton, awardUrl, normalizedEmoji, () => {
...@@ -269,11 +263,7 @@ export default class AwardsHandler { ...@@ -269,11 +263,7 @@ export default class AwardsHandler {
$('.js-add-award.is-active').removeClass('is-active'); $('.js-add-award.is-active').removeClass('is-active');
} }
addAwardToEmojiBar( addAwardToEmojiBar(votesBlock, emoji, checkForMutuality) {
votesBlock,
emoji,
checkForMutuality,
) {
if (checkForMutuality || checkForMutuality === null) { if (checkForMutuality || checkForMutuality === null) {
this.checkMutuality(votesBlock, emoji); this.checkMutuality(votesBlock, emoji);
} }
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment