removed imgur from core

This commit is contained in:
Baris Soner Usakli
2014-02-08 22:09:28 -05:00
parent 94588e15f2
commit 378ccc3cb7
6 changed files with 4 additions and 65 deletions

View File

@@ -115,7 +115,7 @@ define(['taskbar'], function(taskbar) {
var postContainer = $(composerTemplate[0]);
if(config.allowFileUploads || config.imgurClientIDSet) {
if(config.allowFileUploads || config.hasPostUploadPlugin) {
initializeFileReader(post_uuid);
}
@@ -369,7 +369,7 @@ define(['taskbar'], function(taskbar) {
postContainer.css('height', $(window).height() - $('#header-menu').height());
}
if(config.imgurClientIDSet) {
if(config.hasPostUploadPlugin) {
if(env === 'md' || env === 'lg') {
postContainer.find('.upload-instructions').removeClass('hide');
}