mirror of
https://repo.dactyloidae.xyz/Dactyloidae/UXP.git
synced 2026-09-06 07:48:38 +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
|
||||
// hacky comparison?
|
||||
catch (ex) {
|
||||
if (ex.message.indexOf("User canceled Master Password entry") == -1) {
|
||||
if (!ex.message.includes("User canceled Master Password entry")) {
|
||||
throw ex;
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue