Use browser element instead of iframe to have access to History API

This commit is contained in:
Martynas Bagdonas 2021-03-18 17:48:16 +02:00
parent f02b3464b8
commit ac750520e7
3 changed files with 3 additions and 3 deletions

View file

@ -558,7 +558,7 @@ class ReaderTab extends ReaderInstance {
this.tabID = id;
this._tabContainer = container;
this._iframe = this._window.document.createElement('iframe');
this._iframe = this._window.document.createElement('browser');
this._iframe.setAttribute('flex', '1');
this._iframe.setAttribute('type', 'content');
this._iframe.setAttribute('src', 'resource://zotero/pdf-reader/viewer.html');

@ -1 +1 @@
Subproject commit d57680abbeac9e4e5fd2c4b6b59922e10cdbeb79
Subproject commit f649d1a4e6f74715a8b57ac298c058a07d8ea4e0

@ -1 +1 @@
Subproject commit cb9547a4dabe35d60ea258c8343983ba0ca6185e
Subproject commit 5222465e0a3080a6044d44c54d3a5099ccb6808c