diff --git a/files/assets/CHRISTMAS/js/popover.js b/files/assets/CHRISTMAS/js/popover.js index e5c62576d..14d5311c4 100644 --- a/files/assets/CHRISTMAS/js/popover.js +++ b/files/assets/CHRISTMAS/js/popover.js @@ -27,7 +27,9 @@ function userPopover(author) { popover_new.getElementsByClassName('pop-badges')[0].innerHTML = badges popover_new.getElementsByClassName('pop-uid')[0].innerHTML = author["id"] - popover_new.getElementsByClassName('pop-dm-button')[0].setAttribute('data-bs-recipient', 'mdo') + popover_new.getElementById('pop-dm-button').setAttribute('data-bs-recipient', 'mdo'); + + // popover_new.getElementsByClassName('pop-dm-button')[0].setAttribute('data-bs-recipient', 'mdo') document.body.appendChild(popover_new); document.body.removeChild(popover_old); diff --git a/files/templates/CHRISTMAS/ProfilePopover.html b/files/templates/CHRISTMAS/ProfilePopover.html index 03077d348..e066788b0 100644 --- a/files/templates/CHRISTMAS/ProfilePopover.html +++ b/files/templates/CHRISTMAS/ProfilePopover.html @@ -45,7 +45,7 @@ - diff --git a/files/templates/CHRISTMAS/default.html b/files/templates/CHRISTMAS/default.html index d10210fe3..60eac251c 100644 --- a/files/templates/CHRISTMAS/default.html +++ b/files/templates/CHRISTMAS/default.html @@ -335,7 +335,7 @@ - +