Closed captainbrosset closed 2 years ago
Also, the event object that comes with the listener already has the visible prop as well, so e.visible could be used instead of accessing navigator.windowControlsOverlay.visible. Doesn't make a difference though, just shorter to write.
visible
e.visible
navigator.windowControlsOverlay.visible
Thanks Thomas!
Oh, I happily take a couple less bytes for $300. Thanks for the tip. Will change.
Also, the event object that comes with the listener already has the
visible
prop as well, soe.visible
could be used instead of accessingnavigator.windowControlsOverlay.visible
. Doesn't make a difference though, just shorter to write.Thanks Thomas!