Relative Content

Tag Archive for javascriptjquerytwitter-bootstrapbootstrap-modal

Make Bootstrap non-closable modal closable again

I’m using this code to make a Bootstrap 3.4.1 modal non-closable — to not allow the user to click outside the modal or use Esc to close it, while still allowing the normal .modal("hide") and data-dismiss="modal" to work: