diff --git a/assets/script.js b/assets/script.js index 548efdc..b6fc067 100644 --- a/assets/script.js +++ b/assets/script.js @@ -202,6 +202,13 @@ async function togglearticlecreate() { articleContainerElement.classList.toggle("hidden"); } +async function togglememecreate() { + "use strict"; + let memeContainerElement = document.getElementById("memecreatecontainer"); + + memeContainerElement.classList.toggle("hidden"); +} + async function renderarticles() { "use strict"; let template = document.querySelector('template[data-template-name="article"]').innerHTML; diff --git a/templates/meme_add.html b/templates/meme_add.html index 69cd3f9..6e69076 100644 --- a/templates/meme_add.html +++ b/templates/meme_add.html @@ -1,9 +1,12 @@ -
\ No newline at end of file +Skoro, ako r/adlerka, ale lepšie.
+