diff --git a/themes/default/public/js/lufi-up.js b/themes/default/public/js/lufi-up.js index b153b98..94a9122 100644 --- a/themes/default/public/js/lufi-up.js +++ b/themes/default/public/js/lufi-up.js @@ -467,8 +467,8 @@ function updateProgressBar(data) { var del_url = actionURL+'d/'+short+'/'+data.token; var links = encodeURIComponent('["'+short+'"]'); var limit = (delay === 0) ? i18n.noLimit : i18n.expiration+' '+moment.unix(delay * 86400 + created_at).locale(window.navigator.language).format('LLLL'); - n.html(n.html()+' '+s.html()+'
'+limit); if (!isGuest) { + n.html(n.html()+' '+s.html()+'
'+limit); d.html(['
', '
', '', @@ -510,7 +510,7 @@ function updateProgressBar(data) { }); // Add copy all and mailto buttons var misc = $('#misc'); - if (misc.html() === '') { + if (misc.html() === '' && !isGuest) { misc.html(''+i18n.copyAll+' '+i18n.mailTo+''); $('#copyall').on('click', copyAllToClipboard); } else {