mirror of
https://github.com/alextselegidis/easyappointments.git
synced 2024-12-29 10:02:27 +03:00
Update styling of last modal button
This commit is contained in:
parent
48d84491ab
commit
1a476a4f8f
1 changed files with 5 additions and 1 deletions
|
@ -106,7 +106,11 @@ window.App.Utils.Message = (function () {
|
||||||
});
|
});
|
||||||
|
|
||||||
$messageModal.on('shown.bs.modal', () => {
|
$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();
|
messageModal.show();
|
||||||
|
|
Loading…
Reference in a new issue