ऑन सर्टेन्टि: Difference between revisions

no edit summary
No edit summary
No edit summary
Line 1,786: Line 1,786:
function toggleHighlight() {
function toggleHighlight() {
   const div = document.getElementById("mw-content-text");
   const div = document.getElementById("mw-content-text");
   const nodes = x.getElementsByTagName("I");
   const nodes = div.getElementsByTagName("i");
   for (let i = 0; i < nodes.length; i++) {
   for (let j = 0; j < nodes.length; j++) {
     nodes[i].style.backgroundColor = "#fce59a";
     nodes[j].style.backgroundColor = "#fce59a";
   }
   }
}
}
</script>
</script>
</html>
</html>