mirror of
https://github.com/zulip/zulip.git
synced 2025-11-11 01:16:19 +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
@@ -22,7 +22,7 @@ exports.get_next_id_float = (function () {
|
||||
return function () {
|
||||
const local_id_increment = 0.01;
|
||||
let latest = page_params.max_message_id;
|
||||
if (typeof message_list.all !== 'undefined' && message_list.all.last() !== undefined) {
|
||||
if (typeof message_list.all !== "undefined" && message_list.all.last() !== undefined) {
|
||||
latest = message_list.all.last().id;
|
||||
}
|
||||
latest = Math.max(0, latest);
|
||||
|
||||
Reference in New Issue
Block a user