mirror of
https://github.com/slawkens/myaac.git
synced 2025-04-26 17:29:21 +02:00
Fix warnings in basic.js
This commit is contained in:
parent
da1830371f
commit
e5b4d2c6b3
@ -1,8 +1,12 @@
|
|||||||
function MouseOverBigButton(source) {
|
function MouseOverBigButton(source) {
|
||||||
source.firstChild.style.visibility = "visible";
|
if (source?.firstChild?.style) {
|
||||||
|
source.firstChild.style.visibility = "visible";
|
||||||
|
}
|
||||||
}
|
}
|
||||||
function MouseOutBigButton(source) {
|
function MouseOutBigButton(source) {
|
||||||
source.firstChild.style.visibility = "hidden";
|
if (source?.firstChild?.style) {
|
||||||
|
source.firstChild.style.visibility = "hidden";
|
||||||
|
}
|
||||||
}
|
}
|
||||||
function BigButtonAction(path) {
|
function BigButtonAction(path) {
|
||||||
window.location = path;
|
window.location = path;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user