Difference between revisions of "User:RJackson/vector.js"

From Team Fortress Wiki
Jump to: navigation, search
(Remove custom JS)
Line 1: Line 1:
 +
const logo = document.querySelector('.mw-wiki-logo');
 +
logo.style.transform = `rotate(${Math.random() * 360}deg`;
  
 +
// Im a profeional developer so i must make sure there is no flash of unrotated content
 +
logo.setAttribute('angleshaha', true);

Revision as of 09:02, 30 September 2020

const logo = document.querySelector('.mw-wiki-logo');
logo.style.transform = `rotate(${Math.random() * 360}deg`;

// Im a profeional developer so i must make sure there is no flash of unrotated content
logo.setAttribute('angleshaha', true);