diff options
author | Olivier Paroz <github@oparoz.com> | 2015-07-29 15:34:29 +0300 |
---|---|---|
committer | Olivier Paroz <github@oparoz.com> | 2015-07-29 15:34:29 +0300 |
commit | 0c3a0938aed8832328d6174d0fdef819d786c9be (patch) | |
tree | 42c8ee427d8a2c0f6c217ce33d0c5aba37874b96 /js | |
parent | 41ac1ac10838ae7027acbfaec74428948d37b504 (diff) |
Regression: escape key wasn't exiting the slideshow anymore
Fixes #251
Diffstat (limited to 'js')
-rw-r--r-- | js/slideshowcontrols.js | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/js/slideshowcontrols.js b/js/slideshowcontrols.js index f1f37172..4b232977 100644 --- a/js/slideshowcontrols.js +++ b/js/slideshowcontrols.js @@ -145,7 +145,7 @@ var zoomOutKeys = [48, 96, 79, 40]; // zero, o or down key var zoomInKeys = [57, 105, 73, 38]; // 9, i or up key if (evt.keyCode === escKey) { - makeCallBack(this._stop)(evt); + makeCallBack(this._exit)(evt); } else if (evt.keyCode === leftKey) { makeCallBack(this._previous)(evt); } else if (evt.keyCode === rightKey) { |