Commit b91cb176 authored by yann300's avatar yann300

Update modaldialog.js

parent c8df4fd6
......@@ -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
......
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