Skip to content

Commit

Permalink
Merge pull request #557 from Yetangitu/master
Browse files Browse the repository at this point in the history
Fix for 'Code bug' #526
  • Loading branch information
fchasen authored Feb 21, 2017
2 parents e115fe9 + e5d1cd0 commit 41174b4
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/core.js
Original file line number Diff line number Diff line change
Expand Up @@ -173,7 +173,7 @@ EPUBJS.core.uri = function(url){
if(search != -1) {
uri.search = url.slice(search + 1);
url = url.slice(0, search);
href = url;
href = uri.href;
}

if(doubleSlash != -1) {
Expand Down
2 changes: 1 addition & 1 deletion src/render_iframe.js
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ EPUBJS.Render.Iframe = function() {
//-- Build up any html needed
EPUBJS.Render.Iframe.prototype.create = function(){
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.transform = EPUBJS.core.prefixed('transform');
Expand Down

0 comments on commit 41174b4

Please sign in to comment.