diff options
Diffstat (limited to 'browser/components/newtab/lib/PersonalityProvider')
-rw-r--r-- | browser/components/newtab/lib/PersonalityProvider/RecipeExecutor.mjs | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/browser/components/newtab/lib/PersonalityProvider/RecipeExecutor.mjs b/browser/components/newtab/lib/PersonalityProvider/RecipeExecutor.mjs index 4f420c0812..ed15f8a59a 100644 --- a/browser/components/newtab/lib/PersonalityProvider/RecipeExecutor.mjs +++ b/browser/components/newtab/lib/PersonalityProvider/RecipeExecutor.mjs @@ -161,7 +161,7 @@ export class RecipeExecutor { * Config: * Not configurable */ - conditionallyNmfTag(item, config) { + conditionallyNmfTag(item) { let nestedNmfTags = {}; let parentTags = {}; let parentWeights = {}; @@ -1052,7 +1052,7 @@ export class RecipeExecutor { } else if (config.operation === "overwrite") { op = (a, b) => b; } else if (config.operation === "count") { - op = (a, b) => a + 1; + op = a => a + 1; } else { return null; } |