diff options
author | Valerio Virgillito | 2012-07-18 22:50:12 -0700 |
---|---|---|
committer | Valerio Virgillito | 2012-07-18 22:51:28 -0700 |
commit | 6a49b632e0d7113ca7a6709e0a58097771512f20 (patch) | |
tree | 471193c135ef99a367809cda00374d16bd8224f2 | |
parent | 5ae767d4d47d0ed6846c7928ec219a70c3706639 (diff) | |
download | ninja-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>
-rwxr-xr-x | js/mediators/keyboard-mediator.js | 2 |
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 | ||