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.
This commit is contained in:
Joel Martin 2011-06-28 16:22:50 -05:00
parent 8a7ce3da6a
commit 0b7bc4e986
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();