parent
b51a30ed99
commit
f299692de7
2 changed files with 3 additions and 1 deletions
|
@ -1309,6 +1309,7 @@ class ReaderTab extends ReaderInstance {
|
||||||
this._iframe.setAttribute('type', 'content');
|
this._iframe.setAttribute('type', 'content');
|
||||||
this._iframe.setAttribute('src', 'resource://zotero/pdf-reader/viewer.html');
|
this._iframe.setAttribute('src', 'resource://zotero/pdf-reader/viewer.html');
|
||||||
this._tabContainer.appendChild(this._iframe);
|
this._tabContainer.appendChild(this._iframe);
|
||||||
|
this._iframe.docShell.windowDraggingAllowed = true;
|
||||||
|
|
||||||
this._popupset = this._window.document.createXULElement('popupset');
|
this._popupset = this._window.document.createXULElement('popupset');
|
||||||
this._tabContainer.appendChild(this._popupset);
|
this._tabContainer.appendChild(this._popupset);
|
||||||
|
@ -1407,6 +1408,7 @@ class ReaderWindow extends ReaderInstance {
|
||||||
this._window.onGoMenuOpen = this._onGoMenuOpen.bind(this);
|
this._window.onGoMenuOpen = this._onGoMenuOpen.bind(this);
|
||||||
this._window.onViewMenuOpen = this._onViewMenuOpen.bind(this);
|
this._window.onViewMenuOpen = this._onViewMenuOpen.bind(this);
|
||||||
this._iframe = this._window.document.getElementById('reader');
|
this._iframe = this._window.document.getElementById('reader');
|
||||||
|
this._iframe.docShell.windowDraggingAllowed = true;
|
||||||
}
|
}
|
||||||
|
|
||||||
if (this._iframe.contentWindow && this._iframe.contentWindow.document === event.target) {
|
if (this._iframe.contentWindow && this._iframe.contentWindow.document === event.target) {
|
||||||
|
|
|
@ -1 +1 @@
|
||||||
Subproject commit 43ac12bd289b43dbebc136c15aeb0223210ba9bf
|
Subproject commit 5c21f0a43b328bb53e290954e67fe59a54401bf1
|
Loading…
Add table
Add a link
Reference in a new issue