Fixed linting error

pull/1/head
ioedeveloper 5 years ago
parent 1eac82f2d0
commit 0b607a52a1
  1. 2
      src/app/ui/modal-dialog-custom.js

@ -4,7 +4,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('', yo`<div>${title}</div>`, null, { label: null }) return modal('', yo`<div>${title}</div>`, null, { label: null })
}, },
prompt: function (title, text, inputValue, ok, cancel, focus) { prompt: function (title, text, inputValue, ok, cancel, focus) {

Loading…
Cancel
Save