Fix lightbox

This commit is contained in:
lilia
2017-04-04 18:15:22 -07:00
committed by Scott Nonnenberg
parent a99890d254
commit 49cdc98386

View File

@@ -248,7 +248,7 @@
templateName: 'lightbox',
className: 'modal lightbox',
initialize: function() {
this.window = extension.windows.getViews()[0];
this.window = window;
this.$document = $(this.window.document);
this.listener = this.onkeyup.bind(this);
this.$document.on('keyup', this.listener);