mirror of https://github.com/sualko/cloud_bbb
parent
256c505f43
commit
1f8a393e14
|
@ -4,7 +4,14 @@ $(() => {
|
||||||
let countdown = 30;
|
let countdown = 30;
|
||||||
|
|
||||||
const interval = window.setInterval(() => {
|
const interval = window.setInterval(() => {
|
||||||
$('#bbb-waiting-text').text(t('bbb', 'This room is not open yet. We will try it again in {sec} seconds. Please wait.', {sec: (--countdown).toString()}));
|
$('#bbb-waiting-text').text(
|
||||||
|
t(
|
||||||
|
'bbb',
|
||||||
|
'This room is not open yet. We will try it again in %n second. Please wait.',
|
||||||
|
'This room is not open yet. We will try it again in %n seconds. Please wait.' as any,
|
||||||
|
--countdown
|
||||||
|
)
|
||||||
|
);
|
||||||
|
|
||||||
if (countdown === 0) {
|
if (countdown === 0) {
|
||||||
window.location.reload();
|
window.location.reload();
|
||||||
|
|
Loading…
Reference in New Issue