Fix #2125 Prevent multiple settings modals

pull/1/head
Navdeep Singh 7 years ago committed by Scott Nonnenberg
parent d520ba3b38
commit 1a117e3f78

@ -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…
Cancel
Save