]> git.p6c8.net - jirafeau_mojo42.git/blobdiff - lib/functions.js.php
Translated using Weblate (Portuguese (Brazil))
[jirafeau_mojo42.git] / lib / functions.js.php
index 0c9a0201a65f4a6299c71355d2bc3a8d035f91e8..7ac8c7696b754d6c49b45eb1835de798df1576f7 100644 (file)
@@ -154,14 +154,14 @@ function show_link (url, reference, delete_code, crypt_key, date)
     // Validity date
     if (isEmpty(date))
     {
     // Validity date
     if (isEmpty(date))
     {
-        document.getElementById('validity').style.display = 'none';
+        document.getElementById('date').style.display = 'none';
     }
     else {
         document.getElementById('date').innerHTML = '<span class="datetime" title="'
             + dateToUtcString(date) + ' (GMT)">'
             + date.format('YYYY-MM-DD hh:mm (GMT O)')
             + '</span>';
     }
     else {
         document.getElementById('date').innerHTML = '<span class="datetime" title="'
             + dateToUtcString(date) + ' (GMT)">'
             + date.format('YYYY-MM-DD hh:mm (GMT O)')
             + '</span>';
-        document.getElementById('validity').style.display = '';
+        document.getElementById('date').style.display = '';
     }
 
     // Preview link (if allowed)
     }
 
     // Preview link (if allowed)

patrick-canterino.de