From 47be0919aa271e97fd7ca86e65cdf93aeee2bf81 Mon Sep 17 00:00:00 2001 From: Ananya Sen Date: Thu, 21 Jun 2012 11:46:10 -0700 Subject: removed some redundants Signed-off-by: Ananya Sen --- js/components/menu/menu-item.reel/menu-item.js | 1 + js/ninja.reel/ninja.html | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) 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, { captureMousedown: { value: function(event) { + if(this.data.radio && this.checked) return; if( ( this.enabled === true || this.enabled > 0 ) && (this.submenu === false) ) { diff --git a/js/ninja.reel/ninja.html b/js/ninja.reel/ninja.html index 2a271d7e..beae59d9 100755 --- a/js/ninja.reel/ninja.html +++ b/js/ninja.reel/ninja.html @@ -359,7 +359,7 @@ }, "clipboardController": { - "prototype": "js/controllers/clipboard-controller[ClipboardController]" + "prototype": "js/controllers/clipboard-controller" }, "owner": { -- cgit v1.2.3