mirror of
https://github.com/zulip/zulip.git
synced 2025-11-20 22:48:16 +00:00
spoilers: Adjust HTML source order to match presentation.
This commit is contained in:
@@ -270,7 +270,7 @@ export const update_elements = ($content: JQuery): void => {
|
||||
// Add the expand/collapse button to spoiler blocks
|
||||
const toggle_button_html =
|
||||
'<span class="spoiler-button" aria-expanded="false"><span class="spoiler-arrow"></span></span>';
|
||||
$(this).prepend($(toggle_button_html));
|
||||
$(this).append($(toggle_button_html));
|
||||
});
|
||||
|
||||
// Display the view-code-in-playground and the copy-to-clipboard button inside the div.codehilite element,
|
||||
|
||||
Reference in New Issue
Block a user