Skip to content

Commit

Permalink
Fixed issue with translations.
Browse files Browse the repository at this point in the history
  • Loading branch information
FANMixco committed Apr 26, 2019
1 parent a3df87a commit 684b4ec
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 4 deletions.
9 changes: 6 additions & 3 deletions js/timer.js
Original file line number Diff line number Diff line change
Expand Up @@ -955,12 +955,15 @@ setTimeout(function() {
$("#divCloseAbout").hide();
}
let exit = 0;
while (lngObject.meetingAt === undefined && exit < 5) {
do {
setTimeout(function() {
titleMeeting.innerHTML = `${lngObject.meetingAt} ${moment().format(dateFormat)}`;
try {
titleMeeting.innerHTML = `${lngObject.meetingAt} ${moment().format(dateFormat)}`;
}
catch (e) {}
}, 1000);
exit++;
}
} while (lngObject === undefined && exit < 5);
}, 100);

if (isFirstRun) {
Expand Down
Loading

0 comments on commit 684b4ec

Please sign in to comment.