Commit ce2827a3 authored by Ariel Fuggini's avatar Ariel Fuggini Committed by JC Brand

Close modal on backdrop click

parent 823134d7
......@@ -39,7 +39,7 @@ export const BootstrapModal = View.extend({
this.insertIntoDOM();
const Modal = bootstrap.Modal;
this.modal = new Modal(this.el, {
backdrop: 'static',
backdrop: true,
keyboard: true
});
this.el.addEventListener('hide.bs.modal', () => u.removeClass('selected', this.trigger_el), false);
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment