Update modaldialog.js

pull/1/head
yann300 6 years ago
parent c8df4fd6ea
commit b91cb17672
  1. 2
      src/app/ui/modaldialog.js

@ -17,7 +17,7 @@ module.exports = (title, content, ok, cancel, focusSelector) => {
cancelDiv.innerHTML = (cancel && cancel.label !== undefined) ? cancel.label : 'Cancel'
var modal = document.querySelector(`.${css.modalBody}`)
var modalTitle = document.querySelector(`.${css.modalHeader} h2`)
var modalTitle = document.querySelector(`.${css.modalHeader} h3`)
modalTitle.innerHTML = ''
if (title) modalTitle.innerHTML = title

Loading…
Cancel
Save