New pad creation screen

This commit is contained in:
yflory
2018-03-13 11:31:08 +01:00
parent 7c99397e60
commit c9ed6d6bf8
14 changed files with 542 additions and 276 deletions

View File

@@ -237,6 +237,9 @@ define([
$span.prepend(img);
cb($(img));
};
Thumb.addThumbnail = function(thumb, $span, cb) {
return addThumbnail(null, thumb, $span, cb);
};
var getKey = function (href) {
var parsed = Hash.parsePadUrl(href);
return 'thumbnail-' + parsed.type + '-' + parsed.hashData.channel;