Skip to content

Commit

Permalink
Fix search state for changes introduced in 2278e4c
Browse files Browse the repository at this point in the history
  • Loading branch information
versable committed Mar 2, 2020
1 parent fd1f817 commit 6b6e7a1
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions flamegraph.pl
Original file line number Diff line number Diff line change
Expand Up @@ -761,8 +761,10 @@ sub flow {
var params = get_params();
if (params.x && params.y)
zoom(find_group(document.querySelector('[x="' + params.x + '"][y="' + params.y + '"]')));
if (params.s)
search(params.s);
if (params.s) {
currentSearchTerm = params.s;
search();
}
}
// event listeners
Expand Down

0 comments on commit 6b6e7a1

Please sign in to comment.