Skip to content

Commit

Permalink
Deal with our namespaced fg:x when restoring state
Browse files Browse the repository at this point in the history
  • Loading branch information
saethlin committed May 4, 2021
1 parent 1b4f81e commit 675c79c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/flamegraph/flamegraph.js
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ function init(evt) {
var restore_state = function() {
var params = get_params();
if (params.x && params.y)
zoom(find_group(document.querySelector('[x="' + params.x + '"][y="' + params.y + '"]')));
zoom(find_group(document.querySelector('[*|x="' + params.x + '"][y="' + params.y + '"]')));
if (params.s)
search(params.s);
};
Expand Down

0 comments on commit 675c79c

Please sign in to comment.