mirror of
https://github.com/rr-/szurubooru.git
synced 2025-07-17 08:26:24 +00:00
Added link to full image preview in post uploads
This commit is contained in:
@ -340,6 +340,11 @@ App.Presenters.PostUploadPresenter = function(
|
||||
} else {
|
||||
$el.find('.form-slider .thumbnail img').show()[0].setAttribute('src', thumbnailDataURL);
|
||||
}
|
||||
$el.find('.form-slider .thumbnail a').attr(
|
||||
'href',
|
||||
post.file !== null ?
|
||||
URL.createObjectURL(post.file)
|
||||
: thumbnailDataURL);
|
||||
});
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user