From 89e1bd46b03c38a8f95a87a0c95a127f149cfd86 Mon Sep 17 00:00:00 2001 From: Jose Antonio Marquez Date: Mon, 26 Mar 2012 13:36:41 -0700 Subject: Fix: IKNINJA-1362 --- js/panels/color/colorpopup-manager.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'js/panels/color') diff --git a/js/panels/color/colorpopup-manager.js b/js/panels/color/colorpopup-manager.js index a4c9a8c2..d6d94807 100755 --- a/js/panels/color/colorpopup-manager.js +++ b/js/panels/color/colorpopup-manager.js @@ -68,7 +68,7 @@ exports.ColorPopupManager = Montage.create(Component, { this.application.ninja.colorController.colorPopupManager.hideColorPopup(); }.bind(this)); // - document.addEventListener('click', function (e) { + document.addEventListener('mousedown', function (e) { // if (e._event.srcElement.id === 'stageCanvas' || e._event.srcElement.id === 'mainContainer' || e._event.srcElement.id === 'drawingCanvas') { this.application.ninja.colorController.colorPopupManager.hideColorPopup(); -- cgit v1.2.3