User:Sylphoid/common.js: Difference between revisions

From Deadlock Wiki
Jump to navigation Jump to search
Sylphoid (talk | contribs)
Created page with "document.addEventListener('DOMContentLoaded', function() { const statBoxes = document.querySelectorAll('.stat-box'); statBoxes.forEach(function(statBox) { statBox.addEventListener('click', function() { statBox.classList.toggle('clicked'); }); }); });"
 
Sylphoid (talk | contribs)
remove for test
Tag: Blanking
Line 1: Line 1:
document.addEventListener('DOMContentLoaded', function() {
    const statBoxes = document.querySelectorAll('.stat-box');


    statBoxes.forEach(function(statBox) {
        statBox.addEventListener('click', function() {
            statBox.classList.toggle('clicked');
        });
    });
});

Revision as of 01:52, 22 September 2024