Thanks to visit codestin.com
Credit goes to github.com

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

Fix button existance check #224

Merged
merged 1 commit into from
Jun 20, 2019
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion extension/src/content.ts
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ const doConnection = (socketUrl: string, projectUrl: string, onMessage: (data: {

const ensureButton = (): void | HTMLElement => {
const buttonId = "openinsail";
const btn = document.querySelector(buttonId) as HTMLElement;
const btn = document.querySelector("#" + buttonId) as HTMLElement;
if (btn) {
return btn;
}
Expand Down