Fix lightbox

This commit is contained in:
lilia 2017-04-04 18:15:22 -07:00 committed by Scott Nonnenberg
parent a99890d254
commit 49cdc98386
No known key found for this signature in database
GPG key ID: A4931C09644C654B

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