if imgur client id is not set but local file uploads are enabled use that

This commit is contained in:
Baris Soner Usakli
2014-01-01 14:38:12 -05:00
parent e2fb617cc0
commit 1996e64c9b
2 changed files with 21 additions and 20 deletions

View File

@@ -94,9 +94,8 @@ define(['taskbar'], function(taskbar) {
var postContainer = $(composerTemplate[0]);
if(config.imgurClientIDSet) {
if(config.allowFileUploads || config.imgurClientIDSet)
initializeFileReader(post_uuid);
}
var postData = composer.posts[post_uuid],
titleEl = postContainer.find('.title'),