diff --git a/www/common/common-thumbnail.js b/www/common/common-thumbnail.js index 2a03715cd..34d44daf5 100644 --- a/www/common/common-thumbnail.js +++ b/www/common/common-thumbnail.js @@ -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 () {