Commit d3b93057 authored by yann300's avatar yann300

capitalize

parent 4aac9bbd
...@@ -5,7 +5,7 @@ var css = require('./styles/modal-dialog-custom-styles') ...@@ -5,7 +5,7 @@ var css = require('./styles/modal-dialog-custom-styles')
module.exports = { module.exports = {
alert: function (title, text) { alert: function (title, text) {
if (text) return modal(title, yo`<div>${text}</div>`, null, { label: null }) if (text) return modal(title, yo`<div>${text}</div>`, null, { label: null })
return modal('alert', yo`<div>${title}</div>`, null, { label: null }) return modal('Alert', yo`<div>${title}</div>`, null, { label: null })
}, },
prompt: function (title, text, inputValue, ok, cancel, focus) { prompt: function (title, text, inputValue, ok, cancel, focus) {
return prompt(title, text, false, inputValue, ok, cancel, focus) return prompt(title, text, false, inputValue, ok, cancel, focus)
......
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