Fix lightbox

// FREEBIE
This commit is contained in:
lilia 2016-06-30 16:56:28 -07:00
parent 84b6c9a065
commit 8a153e942e

View file

@ -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);