aboutsummaryrefslogtreecommitdiff
path: root/js/panels/color
diff options
context:
space:
mode:
authorhwc4872012-03-27 03:23:01 -0700
committerhwc4872012-03-27 03:23:01 -0700
commit7fbc78522cc5b5e3df471d9f9e53fdde58f83892 (patch)
treef056c89bac0f97a54ef329ecbcbd1bfa6fe1d227 /js/panels/color
parent2f66a9ab38f761b7796800bb37f8146f140db40b (diff)
parent309dde5a8c4599cef6a1052c1ff9ee1ad8ec5858 (diff)
downloadninja-7fbc78522cc5b5e3df471d9f9e53fdde58f83892.tar.gz
Merge branch 'master' of github.com:Motorola-Mobility/ninja-internal into Textures
Diffstat (limited to 'js/panels/color')
-rwxr-xr-xjs/panels/color/colorpopup-manager.js2
1 files changed, 1 insertions, 1 deletions
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, {
68 this.application.ninja.colorController.colorPopupManager.hideColorPopup(); 68 this.application.ninja.colorController.colorPopupManager.hideColorPopup();
69 }.bind(this)); 69 }.bind(this));
70 // 70 //
71 document.addEventListener('click', function (e) { 71 document.addEventListener('mousedown', function (e) {
72 // 72 //
73 if (e._event.srcElement.id === 'stageCanvas' || e._event.srcElement.id === 'mainContainer' || e._event.srcElement.id === 'drawingCanvas') { 73 if (e._event.srcElement.id === 'stageCanvas' || e._event.srcElement.id === 'mainContainer' || e._event.srcElement.id === 'drawingCanvas') {
74 this.application.ninja.colorController.colorPopupManager.hideColorPopup(); 74 this.application.ninja.colorController.colorPopupManager.hideColorPopup();