Difference between revisions of "User:Hef/html"

From sshcWiki
Jump to navigation Jump to search
 
Line 4: Line 4:
 
window.onload = function () {
 
window.onload = function () {
 
   var foo = document.getElementById("foo");
 
   var foo = document.getElementById("foo");
   foo.onclick = function() {mw.notify("Hello, World!",{title:"greetings",type:"info"}) };
+
   foo.onclick = function() {mw.notify("Hello, World!",{title:"Greetings",type:"info"}) };
 
}
 
}
 
</script>
 
</script>
 
</html>
 
</html>

Latest revision as of 17:17, 10 April 2017