mirror of
https://github.com/zen-browser/pdf.js.git
synced 2025-07-08 09:20:06 +02:00
Miscellaneous improvements for the document properties dialog
This commit is contained in:
parent
5a6862decc
commit
c952b6fb85
6 changed files with 44 additions and 19 deletions
|
@ -48,7 +48,7 @@ var PasswordPrompt = {
|
|||
}
|
||||
}.bind(this));
|
||||
|
||||
this.overlayContainer.addEventListener('keydown',
|
||||
window.addEventListener('keydown',
|
||||
function (e) {
|
||||
if (e.keyCode === 27) { // Esc key
|
||||
this.hide();
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue