From 9e7467ed97e0a0770d6a21ee8bebdaa6b6e82b45 Mon Sep 17 00:00:00 2001 From: lalka2018 <99399973+lalka2016@users.noreply.github.com> Date: Wed, 15 Nov 2023 15:40:45 +0300 Subject: [PATCH] Fix al_wall.js --- Web/static/js/al_wall.js | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/Web/static/js/al_wall.js b/Web/static/js/al_wall.js index f5e0af0a..08a9a733 100644 --- a/Web/static/js/al_wall.js +++ b/Web/static/js/al_wall.js @@ -77,7 +77,6 @@ function initGraffiti(id) { }); } -$(document).on("click", ".post-like-button", function(e) { function fastUploadImage(textareaId, file) { // uploading images @@ -151,7 +150,7 @@ function appendImage(response, textareaId) { u(`#post-buttons${textareaId} .upload #loader`).remove() } -u(".post-like-button").on("click", function(e) { +$(document).on("click", ".post-like-button", function(e) { e.preventDefault(); var thisBtn = u(this).first(); @@ -907,7 +906,8 @@ $(document).on("click", "#shareVideo", async (e) => { console.error(rejection) document.getElementById("group").setAttribute("disabled", "disabled") } - +}) + $(document).on("click", "#videoAttachment", async (e) => { e.preventDefault()