From cc2c24fc8d6017cfb9b8bec6f0524a6f14a2953f Mon Sep 17 00:00:00 2001 From: Mark Jessop Date: Sun, 25 Aug 2019 18:06:02 +0930 Subject: [PATCH] Fix hiding of bearing table when bearings are disabled. --- static/js/bearings.js | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/static/js/bearings.js b/static/js/bearings.js index d82a00b..87a36a4 100644 --- a/static/js/bearings.js +++ b/static/js/bearings.js @@ -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;