pull/5370/head
yann300 4 years ago
parent 123cc7fb51
commit cfee4297b0
  1. 2
      apps/remix-ide/src/app/ui/modal-dialog-custom.js

@ -5,7 +5,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 })
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) {
return prompt(title, text, false, inputValue, ok, cancel, focus)

Loading…
Cancel
Save