Merge branch 'soon' into staging

This commit is contained in:
ansuz
2019-06-21 15:54:16 +02:00
2 changed files with 78 additions and 2 deletions

View File

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