mirror of
https://github.com/zulip/zulip.git
synced 2025-11-05 22:43:42 +00:00
js: Use ES6 object literal shorthand syntax.
Generated by ESLint. Signed-off-by: Anders Kaseorg <anders@zulip.com>
This commit is contained in:
@@ -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(),
|
||||
};
|
||||
|
||||
|
||||
Reference in New Issue
Block a user