mirror of
https://github.com/signalapp/Signal-Desktop.git
synced 2025-12-24 20:26:24 +00:00
Fix lightbox
// FREEBIE
This commit is contained in:
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user