Fix meme
This commit is contained in:
parent
1f425aadcc
commit
12118b5ce3
@ -206,6 +206,7 @@ async function togglememecreate() {
|
||||
"use strict";
|
||||
let memeContainerElement = document.getElementById("memecreatecontainer");
|
||||
|
||||
await getMemeImages();
|
||||
memeContainerElement.classList.toggle("hidden");
|
||||
}
|
||||
|
||||
@ -618,9 +619,9 @@ async function addMeme() {
|
||||
meme_text: memeTextElement.value,
|
||||
meme_image_id: memeImageElement.value
|
||||
}, "Meme bol zmazaný", "Nastala chyba pri mazaní meme-u", false);
|
||||
memeTextElement.reset();
|
||||
memeImageElement.reset();
|
||||
memeImageElement.reset();
|
||||
memeTitleElement.value = "";
|
||||
memeTextElement.value = "";
|
||||
memeImageElement.selectedIndex = 0
|
||||
await togglememecreate();
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user