Skip to content

armgit / zulip

Public Imported from GitHub
0

Zulip server and web application. Open-source team chat that helps teams stay productive and focused.

support: Move eslint-disable comment to Prettier-compatible position.

Anders Kaseorg67773bc8344f
diff --git a/static/js/analytics/support.js b/static/js/analytics/support.js
index 27b43a8ee26..a1a1fd02c78 100644
--- a/static/js/analytics/support.js
+++ b/static/js/analytics/support.js
@@ -3,7 +3,8 @@ $(() => {
e.preventDefault();
const string_id = $(this).data("string-id");
const message = 'Do you really want to scrub the realm "' + string_id + '"? This action is irreversible.';
- if (confirm(message)) { // eslint-disable-line no-alert
+ // eslint-disable-next-line no-alert
+ if (confirm(message)) {
this.form.submit();
}
});