]> git.proxmox.com Git - mirror_novnc.git/commit - core/input/devices.js
Add fallback value for devicePixelRatio
authorsamhed <samuel@cendio.se>
Thu, 12 May 2016 14:43:19 +0000 (16:43 +0200)
committersamhed <samuel@cendio.se>
Thu, 12 May 2016 14:43:19 +0000 (16:43 +0200)
commitf52105bc88ebd18d5cb3fba817173e99600cdc3f
tree245d316f42e429ac6a9c700a7f26bf1baa9f741d
parent057cfc7cb4dae8c0efaf31c23e6500d903842c22
Add fallback value for devicePixelRatio

In IE 10 for example, devicePixelRatio doesn't exist which caused the
code to fail by setting the thresholds to zero.
include/input.js
include/rfb.js