X-Git-Url: https://git.p6c8.net/jirafeau_mojo42.git/blobdiff_plain/9a9c9a8bf83241c193c5bef6361d41893e72dfd3..f8419669625b7e8768a77539eca79bbb7048381c:/lib/functions.js.php diff --git a/lib/functions.js.php b/lib/functions.js.php index 0c9a020..7ac8c76 100644 --- a/lib/functions.js.php +++ b/lib/functions.js.php @@ -154,14 +154,14 @@ function show_link (url, reference, delete_code, crypt_key, date) // Validity date if (isEmpty(date)) { - document.getElementById('validity').style.display = 'none'; + document.getElementById('date').style.display = 'none'; } else { document.getElementById('date').innerHTML = '' + date.format('YYYY-MM-DD hh:mm (GMT O)') + ''; - document.getElementById('validity').style.display = ''; + document.getElementById('date').style.display = ''; } // Preview link (if allowed)