mirror of
https://github.com/zulip/zulip.git
synced 2025-11-17 20:41:46 +00:00
js: Normalize strings to double quotes.
Prettier would do this anyway, but it’s separated out for a more reviewable diff. Generated by ESLint. Signed-off-by: Anders Kaseorg <anders@zulip.com>
This commit is contained in:
committed by
Tim Abbott
parent
06691e1e45
commit
f3726db89a
@@ -8,7 +8,7 @@ const typing_status = require("../shared/js/typing_status");
|
||||
|
||||
function send_typing_notification_ajax(user_ids_array, operation) {
|
||||
channel.post({
|
||||
url: '/json/typing',
|
||||
url: "/json/typing",
|
||||
data: {
|
||||
to: JSON.stringify(user_ids_array),
|
||||
op: operation,
|
||||
@@ -58,7 +58,7 @@ exports.initialize = function () {
|
||||
notify_server_stop: notify_server_stop,
|
||||
};
|
||||
|
||||
$(document).on('input', '#compose-textarea', () => {
|
||||
$(document).on("input", "#compose-textarea", () => {
|
||||
// If our previous state was no typing notification, send a
|
||||
// start-typing notice immediately.
|
||||
const new_recipient =
|
||||
@@ -68,7 +68,7 @@ exports.initialize = function () {
|
||||
|
||||
// We send a stop-typing notification immediately when compose is
|
||||
// closed/cancelled
|
||||
$(document).on('compose_canceled.zulip compose_finished.zulip', () => {
|
||||
$(document).on("compose_canceled.zulip compose_finished.zulip", () => {
|
||||
typing_status.update(worker, null);
|
||||
});
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user