Fixed uploading posts from URLs
This commit is contained in:
parent
e7e50cfb3a
commit
5f4260d0a7
1 changed files with 3 additions and 3 deletions
|
@ -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));
|
||||
});
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue