diff --git a/src/app/ui/modal-dialog-custom.js b/src/app/ui/modal-dialog-custom.js index a02b5ee099..d1e4bca67a 100644 --- a/src/app/ui/modal-dialog-custom.js +++ b/src/app/ui/modal-dialog-custom.js @@ -4,7 +4,7 @@ var css = require('./styles/modal-dialog-custom-styles') module.exports = { alert: function (title, text) { - if(text) return modal(title, yo`
${text}
`, null, { label: null }) + if (text) return modal(title, yo`
${text}
`, null, { label: null }) return modal('', yo`
${title}
`, null, { label: null }) }, prompt: function (title, text, inputValue, ok, cancel, focus) {