diff options
author | Valerio Virgillito | 2012-07-18 22:50:12 -0700 |
---|---|---|
committer | Valerio Virgillito | 2012-07-18 22:50:12 -0700 |
commit | 16d06bac95ce8334f8c5586750e98360dbc9cbd9 (patch) | |
tree | 0a9bd16d22a2d1595a88579171cab5965b703fd7 /js/mediators | |
parent | f79f7c540d8533eed8fc562b809e15dcfea94438 (diff) | |
download | ninja-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>
Diffstat (limited to 'js/mediators')
-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 | ||