Fix warnings in basic.js

This commit is contained in:
slawkens 2024-05-30 09:49:02 +02:00
parent c93bf5a984
commit 3844ad0d71

View File

@ -1,9 +1,13 @@
function MouseOverBigButton(source) { function MouseOverBigButton(source) {
if (source?.firstChild?.style) {
source.firstChild.style.visibility = "visible"; source.firstChild.style.visibility = "visible";
} }
}
function MouseOutBigButton(source) { function MouseOutBigButton(source) {
if (source?.firstChild?.style) {
source.firstChild.style.visibility = "hidden"; source.firstChild.style.visibility = "hidden";
} }
}
function BigButtonAction(path) { function BigButtonAction(path) {
window.location = path; window.location = path;
} }