Fix style and usability issues in slides
This commit is contained in:
1 parent
85105a1382
commit
26edb77cf0
5 files changed
+22
-13
No files matched your search
@@ -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);
|
||||
};
|
||||
|
||||
|
||||
Reference in new issue
Block a user