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.

drafts: Reformat with Prettier.

Anders Kaseorga030aa5252aa
diff --git a/static/js/drafts.js b/static/js/drafts.js
index ed11c5bd3da..15b7ad13318 100644
--- a/static/js/drafts.js
+++ b/static/js/drafts.js
@@ -78,7 +78,7 @@ export const draft_model = (function () {
let changed = false;
function check_if_equal(draft_a, draft_b) {
- return _.isEqual(_.omit(draft_a, ['updatedAt']), _.omit(draft_b, ['updatedAt']));
+ return _.isEqual(_.omit(draft_a, ["updatedAt"]), _.omit(draft_b, ["updatedAt"]));
}
if (drafts[id]) {