Fix #2125 Prevent multiple settings modals
This commit is contained in:
parent
d520ba3b38
commit
1a117e3f78
1 changed files with 3 additions and 0 deletions
|
@ -231,6 +231,9 @@
|
|||
window.location.reload();
|
||||
},
|
||||
showSettings() {
|
||||
if (this.$el.find('.settings').length) {
|
||||
return;
|
||||
}
|
||||
const view = new Whisper.SettingsView();
|
||||
view.$el.appendTo(this.el);
|
||||
},
|
||||
|
|
Loading…
Add table
Reference in a new issue