mirror of
https://github.com/welpo/tabi.git
synced 2025-10-10 23:38:53 +02:00
🐛 fix(hyvor-talk): switch from ID to class selector for initialisation (#196)
This commit is contained in:
parent
228f1ea6e5
commit
040a46dc4b
2 changed files with 2 additions and 2 deletions
|
@ -1,6 +1,6 @@
|
|||
function initHyvorTalk() {
|
||||
// Get the div that will contain the comments.
|
||||
const commentsDiv = document.querySelector('#comments');
|
||||
const commentsDiv = document.querySelector('.comments');
|
||||
if (commentsDiv) {
|
||||
// Get the various settings from data attributes on the div.
|
||||
const websiteId = commentsDiv.getAttribute('data-website-id');
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue