diff --git a/Web/Presenters/templates/components/paginators/new.xml b/Web/Presenters/templates/components/paginators/new.xml index 38102752..d108897e 100644 --- a/Web/Presenters/templates/components/paginators/new.xml +++ b/Web/Presenters/templates/components/paginators/new.xml @@ -2,4 +2,4 @@
{_show_more} -
\ No newline at end of file + diff --git a/Web/Presenters/templates/components/textArea.xml b/Web/Presenters/templates/components/textArea.xml index f76649d6..8cd4cbf5 100644 --- a/Web/Presenters/templates/components/textArea.xml +++ b/Web/Presenters/templates/components/textArea.xml @@ -3,7 +3,7 @@
- +
diff --git a/Web/static/css/main.css b/Web/static/css/main.css index cedfaa90..3ab144ad 100644 --- a/Web/static/css/main.css +++ b/Web/static/css/main.css @@ -2697,22 +2697,9 @@ body.article .floating_sidebar, body.article .page_content { font-size: 12px; } -.small_red_button { - float: right; - font-weight: bold; -} - -.small_red_button a { - color: #B0B0B0; -} - -.small_red_button a:hover { - color: #a7a7a7; -} - .showMore { text-align: center; padding-top: 10px; padding-bottom: 10px; cursor: pointer; -} \ No newline at end of file +} diff --git a/Web/static/js/al_mentions.js b/Web/static/js/al_mentions.js index 4deb139e..1fe419de 100644 --- a/Web/static/js/al_mentions.js +++ b/Web/static/js/al_mentions.js @@ -44,4 +44,4 @@ tippy(".mention", { }); } -initMentions() \ No newline at end of file +initMentions() diff --git a/Web/static/js/al_wall.js b/Web/static/js/al_wall.js index 15cc244b..2999b5e1 100644 --- a/Web/static/js/al_wall.js +++ b/Web/static/js/al_wall.js @@ -305,6 +305,16 @@ $(document).on("click", ".showMore", async (e) => { for(const obj of objects) { container.insertAdjacentHTML("beforeend", obj.outerHTML) } + + if(result.querySelectorAll("textarea").length > 0) { + for(const trea of result.querySelectorAll("textarea")) { + setupWallPostInputHandlers(trea.dataset.id) + + u("#post-buttons" + trea.dataset.id + " .postFileSel").on("change", function() { + handleUpload.bind(this, trea.dataset.id)(); + }); + } + } bsdnHydrate()