Change Icon Twitter
const twitterIcon = document.querySelectorAll(“.fab.fa-twitter”); twitterIcon.forEach(x => {x.classList.add(‘fa-brands’,’fa-x-twitter’);x.classList.remove(‘fab’,’fa-twitter’)});
window.onload = function(){ const divrtteam =(document.getElementsByClassName(“rt-team-container”))[0]; const tlpbtndiv = document.createElement(‘div’); tlpbtndiv.classList.add(“rt-row”, “tlp-button”); const csBtnTeam = document.createElement(“a”); const csBtnTeamText = document.createTextNode(“Back to All Team”); csBtnTeam.appendChild(csBtnTeamText); csBtnTeam.href = “/team-wisma-jerman”; tlpbtndiv.appendChild(csBtnTeam); divrtteam.appendChild(tlpbtndiv); }
window.onload = function(){ const divsr =(document.getElementsByClassName(“sr-stat”))[0].innerText; if (divsr == “closed”) { const btnel = document.getElementById(“btn-reg-exam”).getElementsByClassName(‘vc_general’)[0]; btnel.removeAttribute(“href”); btnel.style.opacity = .5; btnel.setAttribute(“title”, “Registration is Closed”); } const divsrem =(document.getElementsByClassName(“srem-stat”))[0].innerText; if (divsrem == […]
- 1
- 2
- 3
- ...
- 9
- Berikutnya