Skip to content

Commit

Permalink
fix(samples): fix bug in simple website
Browse files Browse the repository at this point in the history
  • Loading branch information
dwmkerr committed Apr 3, 2021
1 parent cd13da5 commit e27fb79
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions effective-shell-playground/websites/simple/code.js
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
// This function changes the header text for the webpage.
function changeHeader(newHeader) {
document.getElementById("header").innerText = newHeader;
document.getElementById('header').innerText = newHeader;
}

// When the webpage is loaded...
window.addEventListener('DOMContentLoaded', function() {
// ...hide the warning message.
document.getElementById("warning").display = 'none';
document.getElementById('warning').style.display = 'none';
});

0 comments on commit e27fb79

Please sign in to comment.