Fix lightbox

// FREEBIE
pull/749/head
lilia 9 years ago
parent 84b6c9a065
commit 8a153e942e

@ -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…
Cancel
Save