mirror of
https://github.com/zulip/zulip.git
synced 2025-11-06 06:53:25 +00:00
eslint: Fix unicorn/no-array-callback-reference.
Signed-off-by: Anders Kaseorg <anders@zulip.com>
This commit is contained in:
committed by
Tim Abbott
parent
552f4e3d22
commit
6cd694b8e3
@@ -24,7 +24,7 @@ function add_messages(messages, msg_list, opts) {
|
||||
// one needs an outer element wrapping an object to use this
|
||||
// construction.
|
||||
function is_element_in_message_content(message, element_selector) {
|
||||
return $(`<div>${message.content}</div>`).find(element_selector).length > 0;
|
||||
return $(`<div>${message.content}</div>`).find(`${element_selector}`).length > 0;
|
||||
}
|
||||
|
||||
exports.message_has_link = function (message) {
|
||||
|
||||
Reference in New Issue
Block a user