diff --git a/src/js/views/index.js b/src/js/views/index.js index b855a7d8..c44320fa 100644 --- a/src/js/views/index.js +++ b/src/js/views/index.js @@ -309,7 +309,7 @@ var ModalTerminal = ContainedBase.extend({ this.container = new ModalView(); this.JSON = { - title: options.title || 'Heed This Warning!' + title: options.title }; this.render(); @@ -344,9 +344,7 @@ var ModalAlert = ContainedBase.extend({ this.JSON.markdown = options.markdowns.join('\n'); } - this.container = new ModalTerminal({ - title: '' - }); + this.container = new ModalTerminal({}); this.render(); if (!options.wait) { diff --git a/src/template.index.html b/src/template.index.html index 07a3b378..bbfd3ab0 100644 --- a/src/template.index.html +++ b/src/template.index.html @@ -183,6 +183,14 @@ + <% if (title) { %> +