mirror of
https://github.com/rr-/szurubooru.git
synced 2025-07-17 08:26:24 +00:00
Fixed thumbnails in upload
This commit is contained in:
@ -189,7 +189,7 @@ $(function()
|
||||
{
|
||||
$(img)
|
||||
.css('background-image', 'none')
|
||||
.attr('src', '/posts/upload/thumb/' + btoa(url))
|
||||
.attr('src', url)
|
||||
.data('custom-thumb', true);
|
||||
}
|
||||
|
||||
@ -214,7 +214,7 @@ $(function()
|
||||
else
|
||||
{
|
||||
postDom.find('.file-name strong').text(url);
|
||||
changeThumb(postDom.find('img'), url);
|
||||
changeThumb(postDom.find('img'), '/posts/upload/thumb/' + btoa(url));
|
||||
}
|
||||
});
|
||||
}
|
||||
|
Reference in New Issue
Block a user