- trash icon added to bootstrap-icons.svg

- made delete link a separate button
- unit tests updated
This commit is contained in:
ribas160 2025-01-04 22:27:09 +02:00
parent 52cd7b3590
commit 7b57d7b289
6 changed files with 24 additions and 14 deletions

View file

@ -2120,8 +2120,8 @@ jQuery.PrivateBin = (function($, RawDeflate) {
$pasteUrl.click(pasteLinkClick);
// delete link
$('#deletelink').html('<a href="' + deleteUrl + '"></a>');
I18n._($('#deletelink a').first(), 'Delete data');
$('#deletelink').attr('href', deleteUrl);
I18n._($('#deletelink span').not('.glyphicon').first(), 'Delete data');
// enable shortener button
$shortenButton.removeClass('buttondisabled');