Skip to content
This repository was archived by the owner on Apr 28, 2020. It is now read-only.

Commit 7338504

Browse files
lucacasonatoNathan Potter
authored and
Nathan Potter
committed
fixed button id check (#224)
1 parent 2afe9a3 commit 7338504

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

extension/src/content.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,7 @@ const doConnection = (socketUrl: string, projectUrl: string, onMessage: (data: {
3939

4040
const ensureButton = (): void | HTMLElement => {
4141
const buttonId = "openinsail";
42-
const btn = document.querySelector(buttonId) as HTMLElement;
42+
const btn = document.querySelector("#" + buttonId) as HTMLElement;
4343
if (btn) {
4444
return btn;
4545
}

0 commit comments

Comments
 (0)