Commit 0b607a52 authored by ioedeveloper's avatar ioedeveloper

Fixed linting error

parent 1eac82f2
......@@ -4,7 +4,7 @@ var css = require('./styles/modal-dialog-custom-styles')
module.exports = {
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('', yo`<div>${title}</div>`, null, { label: null })
},
prompt: function (title, text, 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