Fix thumbnails

pull/1/head
yflory 6 years ago
parent 9959f73b61
commit bd190dc73b

@ -196,8 +196,8 @@ define([
}; };
Thumb.initPadThumbnails = function (common, opts) { Thumb.initPadThumbnails = function (common, opts) {
if (!opts.href || !opts.getContent) { if (!opts.type || !opts.getContent) {
throw new Error("href and getContent are needed for thumbnails"); throw new Error("type and getContent are needed for thumbnails");
} }
var oldThumbnailState; var oldThumbnailState;
var mkThumbnail = function () { var mkThumbnail = function () {

Loading…
Cancel
Save