Browse Source

Update Modal render function

pull/3795/head
Artur Arseniev 4 years ago
parent
commit
ac9091900f
  1. 3
      src/modal_dialog/index.js

3
src/modal_dialog/index.js

@ -213,8 +213,9 @@ export default () => {
render() { render() {
if (this.getConfig().custom) return; if (this.getConfig().custom) return;
const View = ModalView.extend(c.extend); const View = ModalView.extend(c.extend);
modal && modal.remove(); const el = modal && modal.el;
modal = new View({ modal = new View({
el,
model, model,
config: c config: c
}); });

Loading…
Cancel
Save