From b5d00383156edda300d70e7fd428ecef16054a22 Mon Sep 17 00:00:00 2001 From: Brian Davenport Date: Sat, 25 May 2013 15:53:56 +0000 Subject: [PATCH] Fixes the selection bugs --- public_html/script.js | 2 ++ 1 file changed, 2 insertions(+) diff --git a/public_html/script.js b/public_html/script.js index 1838629..9ef4b85 100644 --- a/public_html/script.js +++ b/public_html/script.js @@ -414,5 +414,7 @@ function selectPlaneByHex(hex) { Planes[SelectedPlane].funcUpdateLines(); Planes[SelectedPlane].marker.setIcon(Planes[SelectedPlane].funcGetIcon()); } + } else { + SelectedPlane = null } }