Skip to content

Commit 31e31d3

Browse files
Copilotkatsar0v
andcommitted
Fix JS button text restoration to use stored original text
Co-authored-by: katsar0v <7236157+katsar0v@users.noreply.github.com>
1 parent 01d5644 commit 31e31d3

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

admin/js/admin-script.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -78,7 +78,7 @@
7878
$result.addClass('mskd-smtp-error').text(mskd_admin.strings.error);
7979
},
8080
complete: function() {
81-
$button.prop('disabled', false).text($button.data('original-text') || 'Изпрати тестов имейл');
81+
$button.prop('disabled', false).text($button.data('original-text'));
8282
}
8383
});
8484
});

0 commit comments

Comments
 (0)