mirror of
https://github.com/zulip/zulip.git
synced 2025-11-09 16:37:23 +00:00
help: Fix ordering of code sections work and scrollbar update.
Conceptually, the scrollbar update should be after we've rendered the code blocks.
This commit is contained in:
@@ -143,8 +143,8 @@ function scrollToHash(container) {
|
|||||||
|
|
||||||
if (html_map[path]) {
|
if (html_map[path]) {
|
||||||
$(".markdown .content").html(html_map[path]);
|
$(".markdown .content").html(html_map[path]);
|
||||||
markdownPS.update();
|
|
||||||
render_code_sections();
|
render_code_sections();
|
||||||
|
markdownPS.update();
|
||||||
scrollToHash(container);
|
scrollToHash(container);
|
||||||
} else {
|
} else {
|
||||||
loading.name = path;
|
loading.name = path;
|
||||||
|
|||||||
Reference in New Issue
Block a user