X-Git-Url: https://git.p6c8.net/jirafeau.git/blobdiff_plain/a4bfa2348c5e572c9c519dbbf2f60f04504bf66d..a1f93be643a0292be0f839c15ba5e7a279dab9d3:/lib/functions.js.php?ds=inline diff --git a/lib/functions.js.php b/lib/functions.js.php index 7177b85..7d248b5 100644 --- a/lib/functions.js.php +++ b/lib/functions.js.php @@ -119,7 +119,7 @@ function show_link (reference, delete_code, crypt_key, date) document.getElementById('uploading').style.display = 'none'; document.getElementById('upload').style.display = 'none'; document.getElementById('upload_finished').style.display = ''; - document.title = "<?php echo empty($cfg['title']) ? 'Jirafeau' : $cfg['title']; ?> - 100%"; + document.title = "100% - <?php echo empty($cfg['title']) ? 'Jirafeau' : $cfg['title']; ?>"; // Download page var download_link_href = 'f.php?h=' + reference; @@ -203,7 +203,7 @@ function show_upload_progression (percentage, speed, time_left) document.getElementById('uploaded_percentage').innerHTML = percentage; document.getElementById('uploaded_speed').innerHTML = speed; document.getElementById('uploaded_time').innerHTML = time_left; - document.title = "<?php echo empty($cfg['title']) ? 'Jirafeau' : $cfg['title']; ?> - " + percentage; + document.title = percentage + " - <?php echo empty($cfg['title']) ? 'Jirafeau' : $cfg['title']; ?>"; } function hide_upload_progression ()