js: Reformat with Prettier.

Signed-off-by: Anders Kaseorg <anders@zulip.com>
This commit is contained in:
Anders Kaseorg
2020-07-14 15:34:28 -07:00
committed by Tim Abbott
parent bd45216c21
commit b65d2e063d
301 changed files with 7829 additions and 6687 deletions

View File

@@ -148,7 +148,6 @@ exports.relevant_recipient_bars = function () {
let elem = next(first_elem);
while (elem.length) {
if (top_offset(elem) < header_height) {
// If we are close to the top, then the prior
// elements we found are no longer relevant,
@@ -242,7 +241,6 @@ exports.candidate_recipient_bar = function () {
}
while (candidate.length) {
if (candidate.hasClass("recipient_row") && top_offset(candidate) < 0) {
return candidate;
}
@@ -262,7 +260,6 @@ function show_floating_recipient_bar() {
let old_source;
function replace_floating_recipient_bar(source_info) {
const source_recipient_bar = source_info.elem;
let new_label;
@@ -326,5 +323,4 @@ exports.update = function () {
replace_floating_recipient_bar(items[0]);
};
window.floating_recipient_bar = exports;