aboutsummaryrefslogtreecommitdiff
path: root/js/components/menu
diff options
context:
space:
mode:
authorAnanya Sen2012-06-21 11:46:10 -0700
committerAnanya Sen2012-06-21 11:46:10 -0700
commit47be0919aa271e97fd7ca86e65cdf93aeee2bf81 (patch)
treecd8515e6f11b02123f6b15649ad319c863be41c6 /js/components/menu
parent6915d6607f2d768f363baed84287f6593925ae1e (diff)
downloadninja-47be0919aa271e97fd7ca86e65cdf93aeee2bf81.tar.gz
removed some redundants
Signed-off-by: Ananya Sen <Ananya.Sen@motorola.com>
Diffstat (limited to 'js/components/menu')
-rwxr-xr-xjs/components/menu/menu-item.reel/menu-item.js1
1 files changed, 1 insertions, 0 deletions
diff --git a/js/components/menu/menu-item.reel/menu-item.js b/js/components/menu/menu-item.reel/menu-item.js
index fff8565b..3a5bf4ab 100755
--- a/js/components/menu/menu-item.reel/menu-item.js
+++ b/js/components/menu/menu-item.reel/menu-item.js
@@ -134,6 +134,7 @@ exports.MenuItem = Montage.create(Component, {
134 134
135 captureMousedown: { 135 captureMousedown: {
136 value: function(event) { 136 value: function(event) {
137
137 if(this.data.radio && this.checked) return; 138 if(this.data.radio && this.checked) return;
138 139
139 if( ( this.enabled === true || this.enabled > 0 ) && (this.submenu === false) ) { 140 if( ( this.enabled === true || this.enabled > 0 ) && (this.submenu === false) ) {