stop bootstrap modal from closing

Subject:

$('#myModal').modal({ backdrop: 'static', keyboard: false });

2017-09-19 11:29:47gstlouis