mirror of
https://github.com/zulip/zulip.git
synced 2025-11-09 08:26:11 +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]) {
|
||||
$(".markdown .content").html(html_map[path]);
|
||||
markdownPS.update();
|
||||
render_code_sections();
|
||||
markdownPS.update();
|
||||
scrollToHash(container);
|
||||
} else {
|
||||
loading.name = path;
|
||||
|
||||
Reference in New Issue
Block a user