aboutsummaryrefslogtreecommitdiff
path: root/js/mediators/keyboard-mediator.js
diff options
context:
space:
mode:
authorValerio Virgillito2012-07-18 22:50:12 -0700
committerValerio Virgillito2012-07-18 22:51:28 -0700
commit6a49b632e0d7113ca7a6709e0a58097771512f20 (patch)
tree471193c135ef99a367809cda00374d16bd8224f2 /js/mediators/keyboard-mediator.js
parent5ae767d4d47d0ed6846c7928ec219a70c3706639 (diff)
downloadninja-6a49b632e0d7113ca7a6709e0a58097771512f20.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>
Diffstat (limited to 'js/mediators/keyboard-mediator.js')
-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