mirror of
https://github.com/rr-/szurubooru.git
synced 2025-07-17 08:26:24 +00:00
Fixed uploading posts from URLs
This commit is contained in:
@ -342,9 +342,9 @@ App.Presenters.PostUploadPresenter = function(
|
||||
}
|
||||
$el.find('.form-slider .thumbnail a').attr(
|
||||
'href',
|
||||
post.file !== null ?
|
||||
URL.createObjectURL(post.file)
|
||||
: thumbnailDataURL);
|
||||
post.url !== null ?
|
||||
thumbnailDataURL :
|
||||
URL.createObjectURL(post.file));
|
||||
});
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user