Skip to content

Commit

Permalink
Fix console.error statements
Browse files Browse the repository at this point in the history
  • Loading branch information
david-tejada committed May 12, 2022
1 parent 55cf642 commit f5b1eda
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion src/content/click-element.ts
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@ export async function clickElement(
},
})
.catch((error) => {
.console.error(error);
console.error(error);
});
} else {
const event = new MouseEvent("click", mouseEventInit);
Expand Down
2 changes: 1 addition & 1 deletion src/content/init-tab-hints-stack.ts
Original file line number Diff line number Diff line change
Expand Up @@ -8,5 +8,5 @@ browser.runtime
},
})
.catch((error) => {
.console.error(error);
console.error(error);
});
4 changes: 2 additions & 2 deletions src/content/observers.ts
Original file line number Diff line number Diff line change
Expand Up @@ -94,13 +94,13 @@ export default function observe() {
if (document.readyState === "complete") {
maybeObserveIntersection(document.body);
displayHints().catch((error) => {
.console.error(error);
console.error(error);
});
} else {
window.addEventListener("load", () => {
maybeObserveIntersection(document.body);
displayHints().catch((error) => {
.console.error(error);
console.error(error);
});
});
}
Expand Down

0 comments on commit f5b1eda

Please sign in to comment.