mirror of
https://github.com/PrivateBin/PrivateBin.git
synced 2025-07-24 07:20:45 -04:00
- trash icon added to bootstrap-icons.svg
- made delete link a separate button - unit tests updated
This commit is contained in:
parent
52cd7b3590
commit
7b57d7b289
6 changed files with 24 additions and 14 deletions
|
@ -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');
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue