mirror of
https://github.com/zulip/zulip.git
synced 2025-11-03 13:33:24 +00:00
eslint: Fix unicorn/prefer-query-selector.
https://github.com/sindresorhus/eslint-plugin-unicorn/blob/master/docs/rules/prefer-query-selector.md Signed-off-by: Anders Kaseorg <anders@zulip.com>
This commit is contained in:
committed by
Tim Abbott
parent
c7cbdba257
commit
bd05f1c9f8
@@ -22,9 +22,6 @@ const _navigator = {
|
||||
};
|
||||
|
||||
const _document = {
|
||||
getElementById() {
|
||||
return $("#compose-textarea");
|
||||
},
|
||||
execCommand() {
|
||||
return false;
|
||||
},
|
||||
@@ -459,6 +456,7 @@ run_test("markdown_shortcuts", () => {
|
||||
);
|
||||
};
|
||||
|
||||
$("#compose-textarea")[0] = {};
|
||||
$("#compose-textarea").range = function () {
|
||||
return {
|
||||
start: range_start,
|
||||
|
||||
Reference in New Issue
Block a user