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:
parent
8a7ce3da6a
commit
0b7bc4e986
|
@ -32,7 +32,7 @@ if (window.WebSocket) {
|
||||||
end = "'><\/script>", extra = "";
|
end = "'><\/script>", extra = "";
|
||||||
|
|
||||||
WEB_SOCKET_SWF_LOCATION = get_INCLUDE_URI() +
|
WEB_SOCKET_SWF_LOCATION = get_INCLUDE_URI() +
|
||||||
"web-socket-js/WebSocketMain.swf?" + Math.random();
|
"web-socket-js/WebSocketMain.swf?";
|
||||||
if (Util.Engine.trident) {
|
if (Util.Engine.trident) {
|
||||||
Util.Debug("Forcing uncached load of WebSocketMain.swf");
|
Util.Debug("Forcing uncached load of WebSocketMain.swf");
|
||||||
WEB_SOCKET_SWF_LOCATION += "?" + Math.random();
|
WEB_SOCKET_SWF_LOCATION += "?" + Math.random();
|
||||||
|
|
Loading…
Reference in New Issue