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',
|
templateName: 'lightbox',
|
||||||
className: 'modal lightbox',
|
className: 'modal lightbox',
|
||||||
initialize: function() {
|
initialize: function() {
|
||||||
this.window = extension.windows.getViews()[0];
|
this.window = window;
|
||||||
this.$document = $(this.window.document);
|
this.$document = $(this.window.document);
|
||||||
this.listener = this.onkeyup.bind(this);
|
this.listener = this.onkeyup.bind(this);
|
||||||
this.$document.on('keyup', this.listener);
|
this.$document.on('keyup', this.listener);
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue