aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorValerio Virgillito2012-07-18 22:50:12 -0700
committerValerio Virgillito2012-07-18 22:50:12 -0700
commit16d06bac95ce8334f8c5586750e98360dbc9cbd9 (patch)
tree0a9bd16d22a2d1595a88579171cab5965b703fd7
parentf79f7c540d8533eed8fc562b809e15dcfea94438 (diff)
downloadninja-16d06bac95ce8334f8c5586750e98360dbc9cbd9.tar.gz
Fixing chrome preview shortcut
The menu update broke the chrome preview shortcut. Updated the function name in the keyboard handler. Signed-off-by: Valerio Virgillito <valerio@motorola.com>
-rwxr-xr-xjs/mediators/keyboard-mediator.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/js/mediators/keyboard-mediator.js b/js/mediators/keyboard-mediator.js
index 36bc86fd..f71356b6 100755
--- a/js/mediators/keyboard-mediator.js
+++ b/js/mediators/keyboard-mediator.js
@@ -264,7 +264,7 @@ exports.KeyboardMediator = Montage.create(Component, {
264 264
265 265
266 if((evt.keyCode == Keyboard.ENTER) && (evt.ctrlKey || evt.metaKey)) { 266 if((evt.keyCode == Keyboard.ENTER) && (evt.ctrlKey || evt.metaKey)) {
267 this.application.ninja.executeChromePreview(); 267 this.application.ninja.handleExecutePreview();
268 return; 268 return;
269 } 269 }
270 270