diff --git a/html5/js/Client.js b/html5/js/Client.js
index eb61ab72..ecc7674e 100644
--- a/html5/js/Client.js
+++ b/html5/js/Client.js
@@ -2912,7 +2912,7 @@ class XpraClient {
if (icon_type == "svg") {
image_type = "image/svg+xml";
}
- img.src = `data:{image_type};base64,${Utilities.ArrayBufferToBase64(icon_data)}`;
+ img.src = "data:"+image_type+";base64,"+Utilities.ArrayBufferToBase64(icon_data);
}
img.className = "menu-content-left";
img.height = 24;