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