Skip to content

Commit

Permalink
bug fixed
Browse files Browse the repository at this point in the history
  • Loading branch information
ram-sah committed Sep 12, 2024
1 parent 2460204 commit 606ec9c
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion Assets/script.js
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ var q = "";
var now = moment();
//Date and time formate for header

function startUpdatingTime() {
function startUpdatingTime(i) {
// Use moment to get the current time and format it
setInterval(function () {
// Get the current date and time including seconds
Expand Down Expand Up @@ -39,6 +39,7 @@ $("#search-button").on("click", function (event) {

// Check if checkLocalStorage() has already been called
if (!hasCheckedLocalStorage) {
$("#historyList").empty();
checkLocalStorage();
// Set the flag to true so it won't be called again
hasCheckedLocalStorage = true;
Expand Down

0 comments on commit 606ec9c

Please sign in to comment.