Fix al_wall.js

This commit is contained in:
lalka2018 2023-11-15 15:40:45 +03:00
parent 0f0d3ee950
commit 9e7467ed97

View file

@ -77,7 +77,6 @@ function initGraffiti(id) {
}); });
} }
$(document).on("click", ".post-like-button", function(e) {
function fastUploadImage(textareaId, file) { function fastUploadImage(textareaId, file) {
// uploading images // uploading images
@ -151,7 +150,7 @@ function appendImage(response, textareaId) {
u(`#post-buttons${textareaId} .upload #loader`).remove() 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(); e.preventDefault();
var thisBtn = u(this).first(); var thisBtn = u(this).first();
@ -907,6 +906,7 @@ $(document).on("click", "#shareVideo", async (e) => {
console.error(rejection) console.error(rejection)
document.getElementById("group").setAttribute("disabled", "disabled") document.getElementById("group").setAttribute("disabled", "disabled")
} }
})
$(document).on("click", "#videoAttachment", async (e) => { $(document).on("click", "#videoAttachment", async (e) => {
e.preventDefault() e.preventDefault()