From 8893a5331dceb6b596f8657cb7eb533c903d37ff Mon Sep 17 00:00:00 2001 From: LAX18 Development Date: Fri, 3 Jun 2022 22:05:50 -0400 Subject: [PATCH] Remove More Buggy Code --- js/script.js | 13 ------------- 1 file changed, 13 deletions(-) diff --git a/js/script.js b/js/script.js index f5f7198..eded089 100644 --- a/js/script.js +++ b/js/script.js @@ -1025,8 +1025,6 @@ function selectPlaneByHex(hex, autofollow) { // (unless it was a doubleclick..) if (SelectedPlane === hex && !autofollow) { hex = null; - document.getElementById("radar_aircraft_info").style.display = "none" - document.getElementById("radar_aircraft_loading").style.display = "block" document.getElementById("lock_button").disabled = false closeSidebar() document.getElementById("tableinfo").style.display = "block" @@ -1080,15 +1078,4 @@ function resetMap() { OLMap.getView().setCenter(ol.proj.fromLonLat([CenterLon, CenterLat])); selectPlaneByHex(null, false); -} - -function toggleOffline() { - // Activates Offline Mode - if (OfflineMode === true) { - OfflineMode = false - console.log("False") - } else { - OfflineMode = true - console.log("True") - } } \ No newline at end of file