mirror of
https://repo.dactyloidae.xyz/Dactyloidae/UXP.git
synced 2026-10-21 14:47:31 +09:00
Trivial update: use .includes() in ForGetAboutSite.jsm
This commit is contained in:
parent
88b2ab12db
commit
97a4b8e1e1
1 changed files with 1 additions and 1 deletions
|
|
@ -126,7 +126,7 @@ this.ForgetAboutSite = {
|
||||||
// XXXehsan: is there a better way to do this rather than this
|
// XXXehsan: is there a better way to do this rather than this
|
||||||
// hacky comparison?
|
// hacky comparison?
|
||||||
catch (ex) {
|
catch (ex) {
|
||||||
if (ex.message.indexOf("User canceled Master Password entry") == -1) {
|
if (!ex.message.includes("User canceled Master Password entry")) {
|
||||||
throw ex;
|
throw ex;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue