Skip to content

Commit 88d46ca

Browse files
committed
Update hooks.js
Fix #422
1 parent a473d67 commit 88d46ca

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/module/hooks.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ export default class PolyglotHooks {
1515
if (setting) game.polyglot.tomSelect.enable();
1616
else game.polyglot.tomSelect.disable();
1717
});
18-
html.querySelector(".chat-controls").insertAdjacentElement("afterend", polyglotDiv);
18+
html.querySelector("#chat-controls").insertAdjacentElement("afterend", polyglotDiv);
1919
html.querySelector(".polyglot-lang-select select").addEventListener("change", (ev) => {
2020
const lang = ev.target.value;
2121
game.polyglot.lastSelection = lang;

0 commit comments

Comments
 (0)