allow hash urls to work before page loads
Sharing hash urls (pointing to specific graphs) currently doesn't work as expected because the hash portion is processed before the div that's being referenced exists. The following forces their reprocessing after loading the page. Change-Id: Icaabd48ac12c0349b179d2d67caf83b5ca831048
This commit is contained in:
parent
a4485a992c
commit
90110a0215
@ -93,6 +93,11 @@ function update() {
|
||||
update_graph_for_bug(main, bug);
|
||||
}, 1);
|
||||
});
|
||||
|
||||
// we have anchor tags, however on first load the relevant
|
||||
// sections don't exist, so after we load graph points, change
|
||||
// our anchor as well.
|
||||
window.location.replace(window.location.href);
|
||||
});
|
||||
};
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user