Fix lightbox
This commit is contained in:
parent
a99890d254
commit
49cdc98386
1 changed files with 1 additions and 1 deletions
|
@ -248,7 +248,7 @@
|
|||
templateName: 'lightbox',
|
||||
className: 'modal lightbox',
|
||||
initialize: function() {
|
||||
this.window = extension.windows.getViews()[0];
|
||||
this.window = window;
|
||||
this.$document = $(this.window.document);
|
||||
this.listener = this.onkeyup.bind(this);
|
||||
this.$document.on('keyup', this.listener);
|
||||
|
|
Loading…
Reference in a new issue