mirror of
https://github.com/zulip/zulip.git
synced 2025-11-10 17:07:07 +00:00
lint: Fix many no-unused-vars eslint rule violations.
These have been carefully audited by tabbott to ensure they are unlikely to cause regressions.
This commit is contained in:
@@ -327,7 +327,7 @@ exports.mark_message_as_read = function mark_message_as_read(message, options) {
|
||||
|
||||
// If we ever materially change the algorithm for this function, we
|
||||
// may need to update notifications.received_messages as well.
|
||||
exports.process_visible = function process_visible(update_cursor) {
|
||||
exports.process_visible = function process_visible() {
|
||||
if (! notifications.window_has_focus()) {
|
||||
return;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user