mirror of
https://github.com/Brandon-Rozek/website-theme.git
synced 2025-07-31 14:12:01 +00:00
Load initial high five count
This commit is contained in:
parent
487cd8cbd7
commit
0df997d594
1 changed files with 5 additions and 2 deletions
|
@ -96,6 +96,9 @@
|
||||||
// Enable button now that JavaScript is available
|
// Enable button now that JavaScript is available
|
||||||
elements.button.classList.remove('no-js');
|
elements.button.classList.remove('no-js');
|
||||||
elements.button.addEventListener('click', handleHighFiveClick);
|
elements.button.addEventListener('click', handleHighFiveClick);
|
||||||
|
|
||||||
|
// Load initial count
|
||||||
|
loadHighFiveCount();
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
|
Loading…
Add table
Reference in a new issue