Skip to content

Commit

Permalink
Code cleanup.
Browse files Browse the repository at this point in the history
  • Loading branch information
DeKleineKobini committed Dec 31, 2024
1 parent c810b67 commit cfbcc9e
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion extension/scripts/features/quick-crimes/ttQuickCrimes.js
Original file line number Diff line number Diff line change
Expand Up @@ -297,7 +297,7 @@
return;
}

showCrimesAgainOnFirefoxObserver = new MutationObserver((mutations, observer) => {
showCrimesAgainOnFirefoxObserver = new MutationObserver((mutations) => {
const hasRemovedQuickCrimes = ![...mutations]
.filter((mutation) => mutation.removedNodes.length)
.flatMap((mutation) => [...mutation.removedNodes])
Expand Down
2 changes: 1 addition & 1 deletion extension/scripts/global/featureManager.js
Original file line number Diff line number Diff line change
Expand Up @@ -277,7 +277,7 @@ class FeatureManager {
return;
}

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

0 comments on commit cfbcc9e

Please sign in to comment.