From f59f39f5ecae40b15bd39d43a59e73198ed4820e Mon Sep 17 00:00:00 2001 From: "R.W" Date: Mon, 24 Apr 2017 16:32:31 +0000 Subject: [PATCH] fix elementid for expiration date --- lib/functions.js.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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) -- 2.34.1