Fixed remote desktop on IE.

This commit is contained in:
Ylian Saint-Hilaire 2020-05-23 20:12:08 -07:00
parent d4ec339d11
commit bb738ae158
2 changed files with 4 additions and 1 deletions

File diff suppressed because one or more lines are too long

View File

@ -4,6 +4,9 @@
* @version v0.0.2g
*/
// Polyfill Uint8Array.slice() for IE
if (!Uint8Array.prototype.slice) { Object.defineProperty(Uint8Array.prototype, 'slice', { value: function (begin, end) { return new Uint8Array(Array.prototype.slice.call(this, begin, end)); } }); }
// Construct a MeshServer object
var CreateAgentRemoteDesktop = function (canvasid, scrolldiv) {
var obj = {}