From 67186edda7f0d5801a9cc96e6474234e120925f9 Mon Sep 17 00:00:00 2001 From: barisusakli Date: Thu, 26 Jun 2014 11:22:32 -0400 Subject: [PATCH] fix drag drop --- public/src/modules/composer/uploads.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/public/src/modules/composer/uploads.js b/public/src/modules/composer/uploads.js index 142659a309..b51c02a985 100644 --- a/public/src/modules/composer/uploads.js +++ b/public/src/modules/composer/uploads.js @@ -93,7 +93,7 @@ define('composer/uploads', function() { if(draggingDocument) { return; } - drop.css('top', postContainer.find('.tab-content').position().top + 'px'); + drop.css('top', postContainer.find('.write-preview-container').position().top + 'px'); drop.css('height', textarea.height()); drop.css('line-height', textarea.height() + 'px'); drop.show();