Browse Source

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.
Joel Martin 14 years ago
parent
commit
0b7bc4e986
1 changed files with 1 additions and 1 deletions
  1. 1 1
      include/websock.js

+ 1 - 1
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();