diff --git a/public_html/script.js b/public_html/script.js
index 7d059b9..e48ebfc 100644
--- a/public_html/script.js
+++ b/public_html/script.js
@@ -538,6 +538,9 @@ function initialize_map() {
if (hex) {
selectPlaneByHex(hex, (evt.type === 'dblclick'));
evt.stopPropagation();
+ } else {
+ deselectAllPlanes();
+ evt.stopPropagation();
}
});