fix: avoid exit prompt for configure when removing settings
This commit is contained in:
parent
749882671f
commit
a54cfb46a7
|
@ -190,7 +190,7 @@
|
|||
|
||||
// cf. https://stackoverflow.com/a/56551646
|
||||
ThisPage.methods.beforeWindowUnload = function(e) {
|
||||
if (this.settingsNeedSaved && !this.savingSettings && !this.undoChanges) {
|
||||
if (this.settingsNeedSaved && !this.savingSettings && !this.undoChanges && !this.purgingSettings) {
|
||||
e.preventDefault()
|
||||
e.returnValue = ''
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue