This commit is contained in:
Glorfindel 2019-07-28 18:53:08 +02:00
parent f57dd0d13d
commit e27d43192f
1 changed files with 2 additions and 2 deletions

View File

@ -51,7 +51,7 @@
}); });
// Are there any links to archive? // Are there any links to archive?
let disabled = links.length == 0 && images.length == 0; let disabled = links.length == 0 && images.length == 0;
let hoverMessage = disabled ? 'No external links or images found.' : 'Archive ' + getMessage(links, images, true); let hoverMessage = disabled ? 'No external links or images found.' : 'Archive ' + getMessage(links, images, false);
// Add button // Add button
let menu = shareButton.parent(); let menu = shareButton.parent();
@ -66,7 +66,7 @@
} }
// TODO: overview of age of last snapshots, with checkmarks // TODO: overview of age of last snapshots, with checkmarks
let message = getMessage(links, images, false); let message = getMessage(links, images, true);
if (!confirm('Are you sure you want to archive ' + message + ' in this post?')) if (!confirm('Are you sure you want to archive ' + message + ' in this post?'))
return; return;