]> git.proxmox.com Git - mirror_novnc.git/commit
Hide the emulated cursor when target is null
authorSamuel Mannehed <samuel@cendio.se>
Mon, 21 Oct 2019 09:27:43 +0000 (11:27 +0200)
committerSamuel Mannehed <samuel@cendio.se>
Mon, 21 Oct 2019 11:51:42 +0000 (13:51 +0200)
commitc3a7524c9e2820ff888edfd0ba5b4d22800e60a8
tree6a2b5cc701dcb325fad3c45b3d8b86c8428106ea
parent7a96fc3785818b9df96755f712938f38c4678494
Hide the emulated cursor when target is null

Makes it easier to understand what happens when a real element isn't
passed as a target to updateVisibility(). Also makes the code more
robust to future changes.

Co-authored-by: Alex Tanskanen <aleta@cendio.se>
Co-authored-by: Niko Lehto <nikle@cendio.se>
core/util/cursor.js