fix submit.js

master
Aevann1 2022-08-14 05:18:52 +02:00
parent 0880694abd
commit 47b6139f7c
2 changed files with 3 additions and 3 deletions

View File

@ -37,8 +37,8 @@ function checkForRequired() {
checkForRequired();
function hide_image() {
x=document.getElementById('image-upload-block');
url=document.getElementById('post-url').value;
const x=document.getElementById('image-upload-block');
let url=document.getElementById('post-url').value;
if (url.length>=1){
x.classList.add('d-none');
}

View File

@ -25,7 +25,7 @@ set CACHE_VER = {
'js/formatting.js': 240,
'js/lottery.js': 256,
'js/marked.js': 283,
'js/submit.js': 267,
'js/submit.js': 268,
'js/userpage.js': 243,
'js/userpage_v.js': 245,
'js/lozad.js': 260,