mirror of
https://github.com/mozilla/gecko-dev.git
synced 2025-01-12 23:12:21 +00:00
Bug 1411532 followup - Fix eslint failures.
MozReview-Commit-ID: Ax1Fk8cG8Zx
This commit is contained in:
parent
e75f3eb70c
commit
74728d9c8f
@ -83,18 +83,9 @@ var snapshotFormatters = {
|
||||
|
||||
function getReasonStringName(resultValue, defaultValue) {
|
||||
if (resultValue != defaultValue) {
|
||||
if (resultValue) {
|
||||
return "enabledByUser";
|
||||
} else {
|
||||
return "disabledByUser";
|
||||
}
|
||||
} else {
|
||||
if (resultValue) {
|
||||
return "enabledByDefault";
|
||||
} else {
|
||||
return "disabledByDefault";
|
||||
}
|
||||
return resultValue ? "enabledByUser" : "disabledByUser";
|
||||
}
|
||||
return resultValue ? "enabledByDefault" : "disabledByDefault";
|
||||
}
|
||||
let styloReason;
|
||||
let styloChromeReason;
|
||||
|
Loading…
x
Reference in New Issue
Block a user