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:
parent
7f487fdbd5
commit
9a2b50d80b
|
@ -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();
|
||||
|
|
Loading…
Reference in New Issue