Fix style and usability issues in slides

This commit is contained in:
yflory
2017-03-20 15:20:42 +01:00
parent 85105a1382
commit 26edb77cf0
5 changed files with 22 additions and 13 deletions

View File

@@ -1493,7 +1493,7 @@ define([
return $('button.ok');
};
var listenForKeys = function (yes, no) {
var listenForKeys = common.listenForKeys = function (yes, no) {
var handler = function (e) {
switch (e.which) {
case 27: // cancel
@@ -1510,7 +1510,7 @@ define([
return handler;
};
var stopListening = function (handler) {
var stopListening = common.stopListening = function (handler) {
$(window).off('keyup', handler);
};