diff --git a/apps/remix-ide/src/app/ui/modaldialog.js b/apps/remix-ide/src/app/ui/modaldialog.js index 7d336a4121..b04d604e98 100644 --- a/apps/remix-ide/src/app/ui/modaldialog.js +++ b/apps/remix-ide/src/app/ui/modaldialog.js @@ -2,8 +2,8 @@ var yo = require('yo-yo') var css = require('./styles/modaldialog-styles') let incomingModal = false // in case modals are queued, ensure we are not hiding the last one. -module.exports = (title, content, ok, cancel, focusSelector, opts) => { - let agreed = true +module.exports = (title, content, ok, cancel, focusSelector, opts) => { //props + let agreed = true //state vars let footerIsActive = false opts = opts || {} var container = document.querySelector('.modal') @@ -130,21 +130,22 @@ module.exports = (title, content, ok, cancel, focusSelector, opts) => { function html (opts) { return yo` -