Fix hiding of bearing table when bearings are disabled.

pull/7/head
Mark Jessop 2019-08-25 18:06:02 +09:30
rodzic d037dc41f4
commit cc2c24fc8d
1 zmienionych plików z 3 dodań i 1 usunięć

Wyświetl plik

@ -249,8 +249,10 @@ function toggleBearingsEnabled(){
// button is not checked, re-drawing will remove all bearing lines from the map, and not re-add them.
redrawBearings();
// Hide the bearing table
// Hide the bearing plot
$("#bearing_plot").hide();
// Hide the bearing table
$("#bearing_table").hide();
bearings_on = false;