Skip to content

Commit

Permalink
fix trace history interaction with selected plane panel close button
Browse files Browse the repository at this point in the history
  • Loading branch information
wiedehopf committed Nov 13, 2020
1 parent 8f40b71 commit a2b1d7d
Showing 1 changed file with 6 additions and 2 deletions.
8 changes: 6 additions & 2 deletions html/script.js
Original file line number Diff line number Diff line change
Expand Up @@ -657,15 +657,19 @@ function initPage() {
*/

$('#infoblock_close').on('click', function () {

if (showTrace) {
toggleShowTrace();
}
if (SelectedPlane) {
SelectedPlane.selected = null;
SelectedPlane.clearLines();
SelectedPlane.updateMarker();
SelectedPlane = null;
refreshSelected();
refreshHighlighted();
$('#selected_infoblock').hide();
setSelectedInfoBlockVisibility();
TAR.planesTable.refresh();
updateAddressBar();
}
});

Expand Down

0 comments on commit a2b1d7d

Please sign in to comment.