mirror of
https://github.com/futurepress/epub.js.git
synced 2025-10-04 15:09:16 +02:00
Replace contentWindow location will not interefere on parent window history
This commit is contained in:
parent
82b4835c59
commit
a24f7adda8
1 changed files with 1 additions and 1 deletions
|
@ -31,7 +31,7 @@ EPUBJS.Render.Iframe.prototype.load = function(url){
|
||||||
var render = this,
|
var render = this,
|
||||||
deferred = new RSVP.defer();
|
deferred = new RSVP.defer();
|
||||||
|
|
||||||
this.iframe.src = url;
|
this.iframe.contentWindow.location.replace(url);
|
||||||
|
|
||||||
// Reset the scroll position
|
// Reset the scroll position
|
||||||
render.leftPos = 0;
|
render.leftPos = 0;
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue