aboutsummaryrefslogtreecommitdiff
path: root/js/controllers/elements
diff options
context:
space:
mode:
authorNivesh Rajbhandari2012-02-22 10:33:25 -0800
committerNivesh Rajbhandari2012-02-22 10:33:25 -0800
commita69c929602e64f10fb3903b89a2ca9e9ed2c8dfb (patch)
treee0b9d069e9888828b2ec15bf757d98aa98a2f3ef /js/controllers/elements
parent5b7e903bb0f32d1d59620d1d800ff260f49bfa48 (diff)
downloadninja-a69c929602e64f10fb3903b89a2ca9e9ed2c8dfb.tar.gz
Fixing eyedropper tool to get color from image data. This required us to workaround having inconsistent color object.
Signed-off-by: Nivesh Rajbhandari <mqg734@motorola.com>
Diffstat (limited to 'js/controllers/elements')
-rwxr-xr-xjs/controllers/elements/image-controller.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/js/controllers/elements/image-controller.js b/js/controllers/elements/image-controller.js
index 5abce13e..25ca8da6 100755
--- a/js/controllers/elements/image-controller.js
+++ b/js/controllers/elements/image-controller.js
@@ -19,7 +19,7 @@ exports.ImageController = Montage.create(ElementController, {
19 return el.getAttribute(prop); 19 return el.getAttribute(prop);
20 break; 20 break;
21 default: 21 default:
22 return ElementController.getProperty(el, prop); 22 return ElementController.getProperty(el, prop, true);
23 } 23 }
24 } 24 }
25 }, 25 },