Skip to content

Commit

Permalink
Add missing semicolons
Browse files Browse the repository at this point in the history
  • Loading branch information
solth authored Jan 27, 2025
1 parent 1ee8db8 commit ca36887
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions Kitodo/src/main/webapp/WEB-INF/resources/js/defaultScript.js
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ $(document).ready(function() {
});

window.updateLogoutCountdown = function(t) {
let growlMessage = $('#sticky-notifications_container div.ui-growl-message p')
let growlMessage = $('#sticky-notifications_container div.ui-growl-message p');
let currentTime;
let minutes = Math.floor(t.current / 60);
let seconds = t.current % 60;
Expand All @@ -25,8 +25,8 @@ window.updateLogoutCountdown = function(t) {
}
let currentMessage = growlMessage.text();
if (currentMessage.match(/\d+:\d+/g)) {
growlMessage.text(currentMessage.replace(/\d+:\d+/g, currentTime))
growlMessage.text(currentMessage.replace(/\d+:\d+/g, currentTime));
} else {
growlMessage.text(currentMessage + " " + currentTime);
}
}
};

0 comments on commit ca36887

Please sign in to comment.