Holy-Unblocker/views/assets/js/bs-init.js
BinBashBanana a84ed43f31 read the description update
- Tidy up backend JS
- Tidy up frontend JS
- Add Emulators
- Add frame page for all stealth pages
- Add random invisible cooking inserts
- Fix header misalignment
- Random other tiny fixes and improvements
2021-04-07 16:49:32 -07:00

6 lines
No EOL
371 B
JavaScript

window.addEventListener('DOMContentLoaded', function() {
document.querySelectorAll('[data-bs-hover-animate]').forEach(function(l) {
l.onmouseenter = function() { this.classList.add('animated', this.getAttribute('data-bs-hover-animate')); }
l.onmouseleave = function() { this.classList.remove('animated', this.getAttribute('data-bs-hover-animate')); }
});
}, false);