🐛 fix(hyvor-talk): switch from ID to class selector for initialisation (#196)
This commit is contained in:
@@ -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');
|
||||
|
Reference in New Issue
Block a user