dependencies: Upgrade JavaScript dependencies.

Signed-off-by: Anders Kaseorg <anders@zulip.com>
This commit is contained in:
Anders Kaseorg
2021-06-07 19:20:35 -07:00
committed by Tim Abbott
parent f4235b258e
commit ad7466a2bf
8 changed files with 1024 additions and 994 deletions

View File

@@ -95,7 +95,7 @@ export class MessageState {
// wrong with our event loop.
if (!this.received) {
setTimeout(this.maybe_restart_event_loop.bind(this), 5000);
setTimeout(() => this.maybe_restart_event_loop(), 5000);
}
}

View File

@@ -107,7 +107,7 @@ function populate_messages_sent_over_time(data) {
// Helper functions
function make_traces(dates, values, type, date_formatter) {
const text = dates.map((date) => date_formatter(date));
const common = {x: dates, type, hoverinfo: "none", text};
const common = {x: dates, type, hoverinfo: "none", text, textposition: "none"};
return {
human: {
// 5062a0
@@ -808,7 +808,7 @@ function populate_messages_read_over_time(data) {
// Helper functions
function make_traces(dates, values, type, date_formatter) {
const text = dates.map((date) => date_formatter(date));
const common = {x: dates, type, hoverinfo: "none", text};
const common = {x: dates, type, hoverinfo: "none", text, textposition: "none"};
return {
everyone: {
name: $t({defaultMessage: "Everyone"}),