From 0b7bc4e986d30a22000a538540c7f9bc2714a640 Mon Sep 17 00:00:00 2001 From: Joel Martin Date: Tue, 28 Jun 2011 16:22:50 -0500 Subject: [PATCH] Only append random string to swf path in IE. Issue https://github.com/kanaka/noVNC/issues/69 Thanks https://github.com/EdSchouten for the catch. Import from websockify 9a2b50d8. --- include/websock.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/include/websock.js b/include/websock.js index df4827af..0d41ba9a 100644 --- a/include/websock.js +++ b/include/websock.js @@ -32,7 +32,7 @@ if (window.WebSocket) { end = "'><\/script>", extra = ""; WEB_SOCKET_SWF_LOCATION = get_INCLUDE_URI() + - "web-socket-js/WebSocketMain.swf?" + Math.random(); + "web-socket-js/WebSocketMain.swf?"; if (Util.Engine.trident) { Util.Debug("Forcing uncached load of WebSocketMain.swf"); WEB_SOCKET_SWF_LOCATION += "?" + Math.random();