mirror of
https://github.com/futurepress/epub.js.git
synced 2025-10-04 15:09:16 +02:00
commit
41174b4645
2 changed files with 2 additions and 2 deletions
|
@ -173,7 +173,7 @@ EPUBJS.core.uri = function(url){
|
||||||
if(search != -1) {
|
if(search != -1) {
|
||||||
uri.search = url.slice(search + 1);
|
uri.search = url.slice(search + 1);
|
||||||
url = url.slice(0, search);
|
url = url.slice(0, search);
|
||||||
href = url;
|
href = uri.href;
|
||||||
}
|
}
|
||||||
|
|
||||||
if(doubleSlash != -1) {
|
if(doubleSlash != -1) {
|
||||||
|
|
|
@ -13,7 +13,7 @@ EPUBJS.Render.Iframe = function() {
|
||||||
//-- Build up any html needed
|
//-- Build up any html needed
|
||||||
EPUBJS.Render.Iframe.prototype.create = function(){
|
EPUBJS.Render.Iframe.prototype.create = function(){
|
||||||
this.element = document.createElement('div');
|
this.element = document.createElement('div');
|
||||||
this.element.id = "epubjs-view:" + this.id
|
this.element.id = "epubjs-view:" + this.id;
|
||||||
|
|
||||||
this.isMobile = navigator.userAgent.match(/(iPad|iPhone|iPod|Mobile|Android)/g);
|
this.isMobile = navigator.userAgent.match(/(iPad|iPhone|iPod|Mobile|Android)/g);
|
||||||
this.transform = EPUBJS.core.prefixed('transform');
|
this.transform = EPUBJS.core.prefixed('transform');
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue