mirror of
				https://github.com/zulip/zulip.git
				synced 2025-11-03 21:43:21 +00:00 
			
		
		
		
	help: Fix back button on help pages.
We should use update_page function for popstate event so that we can fetch and update the help articles correctly. Fixes: #9617.
This commit is contained in:
		@@ -199,7 +199,7 @@ function scrollToHash(container) {
 | 
			
		||||
 | 
			
		||||
    window.addEventListener("popstate", function () {
 | 
			
		||||
        var path = window.location.pathname;
 | 
			
		||||
        $(".markdown .content").html(html_map[path]);
 | 
			
		||||
        update_page(html_map, path, container);
 | 
			
		||||
    });
 | 
			
		||||
 | 
			
		||||
}());
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user