Fix thumbnails

This commit is contained in:
yflory 2019-06-20 16:11:12 +02:00
parent 9959f73b61
commit bd190dc73b

View File

@ -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 () {