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

@@ -29,8 +29,8 @@ exports.scroll_element_into_container = function (elem, container) {
const elem_bottom = elem_top + elem.innerHeight();
const opts = {
elem_top: elem_top,
elem_bottom: elem_bottom,
elem_top,
elem_bottom,
container_height: container.height(),
};