mirror of
https://github.com/pcottle/learnGitBranching.git
synced 2025-07-03 11:14:27 +02:00
Leave title for levels dialog
This commit is contained in:
parent
01729706d0
commit
59b579b821
2 changed files with 10 additions and 4 deletions
|
@ -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) {
|
||||
|
|
|
@ -183,6 +183,14 @@
|
|||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<% if (title) { %>
|
||||
<div>
|
||||
<i class="icon-cog"></i>
|
||||
<span class="modal-title">
|
||||
<%= title %>
|
||||
</span>
|
||||
</div>
|
||||
<% } %>
|
||||
</div>
|
||||
|
||||
<div class="inside">
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue