mirror of
https://github.com/janeczku/calibre-web
synced 2025-11-08 19:23:03 +00:00
Working on IE11
This commit is contained in:
@@ -138,6 +138,9 @@ kthoom.setProgressMeter = function(optLabel) {
|
|||||||
|
|
||||||
function loadFromArrayBuffer(ab) {
|
function loadFromArrayBuffer(ab) {
|
||||||
var f = [];
|
var f = [];
|
||||||
|
if (typeof ab !== "object") {
|
||||||
|
ab = JSON.parse(ab);
|
||||||
|
}
|
||||||
f.fileData = ab.content;
|
f.fileData = ab.content;
|
||||||
f.filename = ab.name;
|
f.filename = ab.name;
|
||||||
// add any new pages based on the filename
|
// add any new pages based on the filename
|
||||||
|
|||||||
Reference in New Issue
Block a user