]> git.proxmox.com Git - mirror_novnc.git/commit - app/ui.js
Check if <audio>.play() returns a promise
authorSamuel Mannehed <samuel@cendio.se>
Tue, 17 Oct 2017 10:16:38 +0000 (12:16 +0200)
committerSamuel Mannehed <samuel@cendio.se>
Tue, 17 Oct 2017 10:16:38 +0000 (12:16 +0200)
commita342ed703f0bd797e9b9f2ce01c43ec07ad88f29
tree6f81b0a11c123dad6c2479892803dfad566d4bae
parentabfe5b7a37414bdd073152f55018fd3995aac50d
Check if <audio>.play() returns a promise

It doesn't always. IE and Edge crashed when trying to play the bell due
to this. Fixes #929.
app/ui.js