Prevent modals from automatically closing

This commit is contained in:
Oliver 2018-05-07 22:16:05 +10:00
parent 17ecb59dbb
commit 1363fa9f1f

View File

@ -86,6 +86,10 @@ function openModal(modal, title='', content='') {
modalSetTitle(modal, title);
modalSetContent(modal, content);
$(modal).modal({
backdrop: 'static',
keyboard: false,
});
$(modal).modal('show');
}