mirror of
https://github.com/PrivateBin/PrivateBin.git
synced 2026-04-18 21:48:24 -04:00
- trash icon added to bootstrap-icons.svg
- made delete link a separate button - unit tests updated
This commit is contained in:
+2
-2
@@ -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');
|
||||
|
||||
Reference in New Issue
Block a user