1
0
mirror of https://github.com/KubaPro010/fm-dx-webserver.git synced 2026-02-26 22:13:53 +01:00
This commit is contained in:
NoobishSVK
2024-04-22 21:44:39 +02:00
parent ea2914f3e5
commit 1775da67cc
5 changed files with 12 additions and 10 deletions

View File

@@ -25,12 +25,12 @@ function OnPlayButtonClick(_ev) {
Stream.Stop();
} else {
Stream.Start();
const $playbutton = $('.playbutton');
$playbutton.find('.fa-solid').toggleClass('fa-play fa-stop');
$playbutton.addClass('bg-gray').prop('disabled', true);
setTimeout(() => {
$playbutton.removeClass('bg-gray').prop('disabled', false);
}, 3000);
const $playbutton = $('.playbutton');
$playbutton.find('.fa-solid').toggleClass('fa-play fa-stop');
}
} catch (error) {
console.error(error);

View File

@@ -1,9 +1,9 @@
var currentDate = new Date('April 6, 2024 01:00:00');
var currentDate = new Date('April 22, 2024 22:00:00');
var day = currentDate.getDate();
var month = currentDate.getMonth() + 1; // Months are zero-indexed, so add 1
var year = currentDate.getFullYear();
var formattedDate = day + '/' + month + '/' + year;
var currentVersion = 'v1.1.9b [' + formattedDate + ']';
var currentVersion = 'v1.1.9c [' + formattedDate + ']';
getInitialSettings();
@@ -25,4 +25,4 @@ function getInitialSettings() {
console.error('Error:', error);
}
});
}
}