Skip to content

Commit

Permalink
Change double quotes to single quotes
Browse files Browse the repository at this point in the history
  • Loading branch information
tttzach authored Jun 16, 2020
1 parent 0777081 commit 81554fb
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions portfolio/src/main/webapp/libraries.js
Original file line number Diff line number Diff line change
Expand Up @@ -148,7 +148,7 @@ async function getLoginStatus() {
const response = await fetch('/authentication');
const responseHtml = await response.text();
document.getElementById('login-status').innerHTML = responseHtml;
if (responseHtml.includes("Logout")) {
document.getElementById('comments-form').style.display = "block";
if (responseHtml.includes('Logout')) {
document.getElementById('comments-form').style.display = 'block';
}
}

0 comments on commit 81554fb

Please sign in to comment.