relates #2350 small fixes

This commit is contained in:
Perrom
2025-04-15 12:03:08 +02:00
parent 38e771aa8a
commit 32d97ba55b
3 changed files with 7 additions and 19 deletions
+1 -3
View File
@@ -132,8 +132,7 @@ $(".TagSubmit").on('click', function () {
rename_tag_close();
cleanCheckmark();
$('[data-id='+$tagboxid+']').wrap('<div class="tag-changed"></div>');
$('.tag-changed').prepend('<i class="icon-ok-circled tag-checkmark"></i>');
$('.tag-changed').prepend('<i class="icon-ok tag-checkmark-fill"></i>');
$('.tag-changed').prepend('<i class="icon-ok tag-checkmark"></i>');
}).catch((message) => {
$('.TagSubmit').show();
$('.TagLoading').hide();
@@ -144,7 +143,6 @@ $(".TagSubmit").on('click', function () {
function cleanCheckmark(){
$('.tag-changed > *').unwrap();
$('.tag-checkmark').remove();
$('.tag-checkmark-fill').remove();
}
/*-------