Update styling of last modal button

This commit is contained in:
Alex Tselegidis 2024-06-18 16:06:32 +02:00
parent 48d84491ab
commit 1a476a4f8f

View file

@ -106,7 +106,11 @@ window.App.Utils.Message = (function () {
});
$messageModal.on('shown.bs.modal', () => {
$messageModal.find('.modal-footer button:last').focus();
$messageModal
.find('.modal-footer button:last')
.removeClass('btn-outline-primary')
.addClass('btn-primary')
.focus();
});
messageModal.show();