js: Use ES6 object literal shorthand syntax.

Generated by ESLint.

Signed-off-by: Anders Kaseorg <anders@zulip.com>
This commit is contained in:
Anders Kaseorg
2020-07-20 13:18:43 -07:00
parent b2745f6e41
commit 96dcc0ce6e
189 changed files with 1328 additions and 1326 deletions

View File

@@ -192,11 +192,11 @@ exports.relevant_recipient_bars = function () {
const title = elem.find(".message_label_clickable").last().attr("title");
const item = {
elem: elem,
title: title,
date_html: date_html,
date_text: date_text,
need_frb: need_frb,
elem,
title,
date_html,
date_text,
need_frb,
};
return item;