1
0
Fork 0
mirror of https://github.com/futurepress/epub.js.git synced 2025-10-05 15:32:55 +02:00

Fixes Cannot read property 'createBlob' of undefined error

This commit is contained in:
Anatoly Smolyaninov 2017-04-27 09:24:03 +07:00
parent a2c8ac6d94
commit 262477e938

View file

@ -264,7 +264,7 @@ export function createBlob(content, mime){
export function createBlobUrl(content, mime){
var _URL = window.URL || window.webkitURL || window.mozURL;
var tempUrl;
var blob = this.createBlob(content, mime);
var blob = createBlob(content, mime);
tempUrl = _URL.createObjectURL(blob);