diff --git a/files/templates/submit.html b/files/templates/submit.html index c93de4c36..d490358dd 100644 --- a/files/templates/submit.html +++ b/files/templates/submit.html @@ -237,11 +237,9 @@ // markdown - function fugggg() { + function markdown() { - console.log('fug') var input = document.getElementById('post-text').value; - console.log(input) var emojis = Array.from(input.matchAll(/:(.{1,30}?):/gi)) if(emojis != null){ @@ -250,11 +248,7 @@ } } - console.log(input) - - document.getElementById('preview').value = 'fugggg' - - console.log('biggq') + document.getElementById('preview').innerHTML = input } @@ -346,14 +340,14 @@ Optional if you have text. - You can upload videos up to 1 minute long if you have at least {{ 'VIDEO_COIN_REQUIREMENT' | app_config }} {{ 'COINS_NAME' | app_config }}{% if v.admin_level > 1 %} or are an admin{% endif %}. + You can upload videos up to 1 minute long.{% endif %}.
- +
Toggle preview