mirror of
https://github.com/zulip/zulip.git
synced 2025-11-18 04:43:58 +00:00
eslint: change no-plusplus from warning to 2 and fix violations.
This commit is contained in:
@@ -89,7 +89,7 @@ function render_date_span(elem, time_str, time_above_str) {
|
||||
// okay since to update the time later we look up the node by its id.)
|
||||
exports.render_date = function (time, time_above) {
|
||||
var id = "timerender" + next_timerender_id;
|
||||
next_timerender_id++;
|
||||
next_timerender_id += 1;
|
||||
var rendered_time = exports.render_now(time);
|
||||
var node = $("<span />").attr('id', id);
|
||||
if (time_above !== undefined) {
|
||||
|
||||
Reference in New Issue
Block a user