mirror of
https://github.com/janeczku/calibre-web
synced 2024-11-28 20:39:59 +00:00
Working on IE11
This commit is contained in:
parent
f890fc1553
commit
4e11272023
@ -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
|
||||||
|
Loading…
Reference in New Issue
Block a user