diff --git a/guacamole/src/main/webapp/scripts/client-ui.js b/guacamole/src/main/webapp/scripts/client-ui.js index 1456910da..5f7dd9dd7 100644 --- a/guacamole/src/main/webapp/scripts/client-ui.js +++ b/guacamole/src/main/webapp/scripts/client-ui.js @@ -1047,10 +1047,9 @@ GuacUI.Client.attach = function(guac) { e.stopPropagation(); } - function _get_base64(buffer) { + function _get_base64(bytes) { var data = ""; - var bytes = new Uint8Array(buffer); // Produce binary string from bytes in buffer for (var i=0; i