diff --git a/boards/static/js/form.js b/boards/static/js/form.js --- a/boards/static/js/form.js +++ b/boards/static/js/form.js @@ -26,8 +26,8 @@ var fullForm = $('.swappable-form-full') function swapForm() { if (isCompact) { // TODO Use IDs (change the django form code) instead of absolute numbers - fullForm.find('textarea').appendTo(fullForm.find('.form-row')[4]); - fullForm.find('.file_wrap').appendTo(fullForm.find('.form-row')[7]); + fullForm.find('textarea').appendTo(fullForm.find('.form-row')[4].children[0]); + fullForm.find('.file_wrap').appendTo(fullForm.find('.form-row')[7].children[0]); fullForm.find('.form-row').show(); scrollToBottom();