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