MediaWiki:Cycle11.js: Difference between revisions

miraheze>CodeTriangle
no parking for bob
miraheze>CodeTriangle
this is probably more extensible
Line 41: Line 41:
          
          
         if (majority) {
         if (majority) {
         ch.innerHTML = `<b><u>${ch.innerText}</u></b>`;
         ch.style.fontWeight = "bold";
        ch.style.textDecoration = "underline";
         }
         }
        
        
         if (minority) {
         if (minority) {
         ch.innerHTML = `<b>${ch.innerText}</b>`;
         ch.style.fontWeight = "bold";
         }
         }
}
}