Fix Gravatar profiles showing on hover and add gravatar explanation and profile page for users
This commit is contained in:
parent
2451a6c630
commit
4c0db9f842
7 changed files with 79 additions and 10 deletions
|
|
@ -2,12 +2,6 @@ const $ = x => Array.from(document.querySelectorAll(x));
|
|||
const $$ = x => Array.from(document.querySelector(x));
|
||||
|
||||
document.addEventListener('DOMContentLoaded', function() {
|
||||
// Initialize Gravatar if available
|
||||
if (typeof Gravatar !== 'undefined' && typeof Gravatar.init === 'function') {
|
||||
Gravatar.init();
|
||||
}
|
||||
|
||||
|
||||
const themeToggleBtn = document.getElementById('theme-toggle-btn');
|
||||
if (themeToggleBtn) {
|
||||
themeToggleBtn.addEventListener('click', function() {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue