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.
This commit is contained in:
Joel Martin 2011-06-28 16:21:15 -05:00
parent 7f487fdbd5
commit 9a2b50d80b
1 changed files with 1 additions and 1 deletions

View File

@ -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();