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