Commit 37b3647d authored by fred's avatar fred
Browse files

js: add comment about why calling window.onpopstate() is necessary

parent 0eb42862
......@@ -55,6 +55,9 @@ $(function() {
}
new_content = $($.parseHTML(html)).find('#Changing>*');
$main.hide().empty().append(new_content).show();
/* calling onpopstate here is necessary to get urlParams to be
* updated */
window.onpopstate();
new_menu = $($.parseHTML(html)).find('#metaNav>*');
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment