Skip to content

Commit 1038cf8

Browse files
committed
Fix injecting settings button into roll20
Fix for #1324
1 parent 885a3b4 commit 1038cf8

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/roll20/content-script.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -904,6 +904,7 @@ function injectSettingsButton() {
904904
if (img)
905905
img.remove();
906906
img = E.img({ id: "beyond20-settings", src: icon, style: "margin-left: 5px;" });
907+
const btn = document.querySelector("#textchat-input button");
907908
btn.after(img);
908909
img.onclick = alertQuickSettings;
909910
}

0 commit comments

Comments
 (0)