Node.js based forum software built for the modern web
closes #925
Baris Soner Usakli2cdddd2637c0
diff --git a/public/src/modules/composer.js b/public/src/modules/composer.jsindex 88a97db35c..1cf14248ed 100644--- a/public/src/modules/composer.js+++ b/public/src/modules/composer.js@@ -208,7 +208,7 @@ define(['taskbar'], function(taskbar) {break;case 'fa fa-list':// Nothing selected- insertIntoInput(postContentEl, "\n\n* list item");+ insertIntoInput(postContentEl, "\n* list item");break;case 'fa fa-link':if (selectionStart === selectionEnd) {@@ -282,9 +282,13 @@ define(['taskbar'], function(taskbar) {if (resizeActive) {position = (e.clientY + resizeOffset);var newHeight = $(window).height() - position;+ var paddingBottom = parseInt(postContainer.css('padding-bottom'), 10);if(newHeight > $(window).height() - $('#header-menu').height() - 20) {newHeight = $(window).height() - $('#header-menu').height() - 20;+ } else if (newHeight < paddingBottom) {+ newHeight = paddingBottom;}+postContainer.css('height', newHeight);$('body').css({'margin-bottom': newHeight});resizeSavePosition(newHeight);