summaryrefslogtreecommitdiff
path: root/js/ui/controls.js
diff options
context:
space:
mode:
Diffstat (limited to 'js/ui/controls.js')
-rw-r--r--js/ui/controls.js1
1 files changed, 1 insertions, 0 deletions
diff --git a/js/ui/controls.js b/js/ui/controls.js
index 8293a32..fe49527 100644
--- a/js/ui/controls.js
+++ b/js/ui/controls.js
@@ -92,6 +92,7 @@ var controls = (function(){
controls.grid = new Checkbox (grid_el)
controls.grid.use = function(){
+ selection.hide()
document.body.classList.toggle('grid')
this.update( document.body.classList.contains("grid") )
}