Commit 014bbe65 authored by Bryce Johnson's avatar Bryce Johnson

Remove eslint-disable, and use arrow function.

parent 8349782f
......@@ -544,9 +544,8 @@ class AwardsHandler {
$emojiMenu.addClass(IS_RENDERED);
// enqueues animation as a microtask, so it begins ASAP once IS_RENDERED added
Promise.resolve().then(() => { // eslint-disable-line promise/catch-or-return
$emojiMenu.addClass(IS_VISIBLE);
});
return Promise.resolve()
.then(() => $emojiMenu.addClass(IS_VISIBLE));
}
hideMenuElement($emojiMenu) {
......
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