mirror of
https://github.com/PrivateBin/PrivateBin.git
synced 2025-08-01 19:16:13 -04:00
fixing v2 TTL
This commit is contained in:
parent
788ea67b49
commit
50af37507f
3 changed files with 3 additions and 3 deletions
|
@ -1639,7 +1639,7 @@ jQuery.PrivateBin = (function($, RawDeflate) {
|
|||
|
||||
} else if (pasteMetaData.expire_date) {
|
||||
// display paste expiration
|
||||
let expiration = Helper.secondsToHuman(pasteMetaData.remaining_time),
|
||||
let expiration = Helper.secondsToHuman(pasteMetaData.time_to_live || pasteMetaData.remaining_time),
|
||||
expirationLabel = [
|
||||
'This document will expire in %d ' + expiration[1] + '.',
|
||||
'This document will expire in %d ' + expiration[1] + 's.'
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue