Skip to content

Commit

Permalink
Remove unnecessary logging
Browse files Browse the repository at this point in the history
  • Loading branch information
javatarz committed Aug 12, 2018
1 parent e4f5986 commit f600f4c
Showing 1 changed file with 2 additions and 6 deletions.
8 changes: 2 additions & 6 deletions src/main/resources/static/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -66,13 +66,9 @@ <h2>Add your updates</h2>
$(document).ready(function () {
var currentDate = findFormattedDate();
var urlDate = getUrlParameter('date');
console.log("urlDate " + urlDate);
console.log("urlDate: " + urlDate);

var first = urlDate != null;
console.log("First check " + first);
var second = urlDate !== currentDate;
console.log("Second check " + second);
if (first && second) {
if (urlDate != null && urlDate !== currentDate) {
currentDate = urlDate;
$('#add-updates').hide();
}
Expand Down

0 comments on commit f600f4c

Please sign in to comment.