mirror of https://github.com/zulip/zulip.git
tippyjs: Combine "delegate" functions with same functionality.
This commits combines two different "delegate" functions that provide identical functionality by combining values of the "target" array in the function.
This commit is contained in:
parent
2b358dc980
commit
be9fbff5cd
|
@ -253,6 +253,7 @@ export function initialize() {
|
|||
"#scroll-to-bottom-button-clickable-area",
|
||||
".code_external_link",
|
||||
".spectator_narrow_login_button",
|
||||
"#stream-specific-notify-table .unmute_stream",
|
||||
],
|
||||
appendTo: () => document.body,
|
||||
});
|
||||
|
@ -266,11 +267,6 @@ export function initialize() {
|
|||
},
|
||||
});
|
||||
|
||||
delegate("body", {
|
||||
target: "#stream-specific-notify-table .unmute_stream",
|
||||
appendTo: () => document.body,
|
||||
});
|
||||
|
||||
delegate("body", {
|
||||
target: [
|
||||
".rendered_markdown .copy_codeblock",
|
||||
|
|
Loading…
Reference in New Issue