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(
|
$el.find('.form-slider .thumbnail a').attr(
|
||||||
'href',
|
'href',
|
||||||
post.file !== null ?
|
post.url !== null ?
|
||||||
URL.createObjectURL(post.file)
|
thumbnailDataURL :
|
||||||
: thumbnailDataURL);
|
URL.createObjectURL(post.file));
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue