mirror of
https://github.com/zulip/zulip.git
synced 2025-11-18 12:54:58 +00:00
lint: Add dangling commas in JavaScript objects.
This commit is contained in:
@@ -22,7 +22,7 @@ exports.notify_with_undo_option = (function () {
|
||||
topic: null,
|
||||
hide_me_time: null,
|
||||
alert_hover_state: false,
|
||||
$mute: null
|
||||
$mute: null,
|
||||
};
|
||||
var animate = {
|
||||
fadeOut: function () {
|
||||
@@ -34,7 +34,7 @@ exports.notify_with_undo_option = (function () {
|
||||
if (meta.$mute) {
|
||||
meta.$mute.fadeIn(500).addClass("show");
|
||||
}
|
||||
}
|
||||
},
|
||||
};
|
||||
setInterval(function () {
|
||||
if (meta.hide_me_time < new Date().getTime() && !meta.alert_hover_state) {
|
||||
@@ -92,13 +92,13 @@ exports.persist_and_rerender = function () {
|
||||
// die down before the next reload anyway, making the muting moot.
|
||||
exports.rerender();
|
||||
var data = {
|
||||
muted_topics: JSON.stringify(muting.get_muted_topics())
|
||||
muted_topics: JSON.stringify(muting.get_muted_topics()),
|
||||
};
|
||||
last_topic_update = timestamp_ms();
|
||||
channel.post({
|
||||
url: '/json/set_muted_topics',
|
||||
idempotent: true,
|
||||
data: data
|
||||
data: data,
|
||||
});
|
||||
};
|
||||
|
||||
|
||||
Reference in New Issue
Block a user