From f1f72a20179dff5834d159f72d6dd486c2ff1706 Mon Sep 17 00:00:00 2001 From: Jules Laplace Date: Tue, 5 May 2015 02:34:23 -0400 Subject: check if lost focus, hide selection --- js/ui/controls.js | 1 + 1 file changed, 1 insertion(+) (limited to 'js/ui/controls.js') 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") ) } -- cgit v1.2.3-70-g09d2