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) {
source.firstChild.style.visibility = "visible";
if (source?.firstChild?.style) {
source.firstChild.style.visibility = "visible";
}
}
function MouseOutBigButton(source) {
source.firstChild.style.visibility = "hidden";
if (source?.firstChild?.style) {
source.firstChild.style.visibility = "hidden";
}
}
function BigButtonAction(path) {
window.location = path;
}
}