Skip to content

Commit cfbcc9e

Browse files
Code cleanup.
1 parent c810b67 commit cfbcc9e

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

extension/scripts/features/quick-crimes/ttQuickCrimes.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -297,7 +297,7 @@
297297
return;
298298
}
299299

300-
showCrimesAgainOnFirefoxObserver = new MutationObserver((mutations, observer) => {
300+
showCrimesAgainOnFirefoxObserver = new MutationObserver((mutations) => {
301301
const hasRemovedQuickCrimes = ![...mutations]
302302
.filter((mutation) => mutation.removedNodes.length)
303303
.flatMap((mutation) => [...mutation.removedNodes])

extension/scripts/global/featureManager.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -277,7 +277,7 @@ class FeatureManager {
277277
return;
278278
}
279279

280-
new Promise(async (resolve) => {
280+
new Promise(async () => {
281281
let row = this.container.find(`[feature-name*="${feature.name}"]`);
282282
if (row) {
283283
row.setAttribute("status", status);

0 commit comments

Comments
 (0)