Permalink
Browse files

Added src attribute to iframe to prevent caching

Fixed #501
  • Loading branch information...
1 parent 7b41733 commit 6f77371a296cfe6d4b56726e4bff6ab85b710ab4 @NTaylorMullen NTaylorMullen committed Aug 2, 2012
@@ -961,7 +961,7 @@
frameId = (transportLogic.foreverFrame.count += 1),
url,
connectTimeOut,
- frame = $("<iframe data-signalr-connection-id='" + connection.id + "' style='position:absolute;top:0;left:0;width:0;height:0;visibility:hidden;'></iframe>");
+ frame = $("<iframe data-signalr-connection-id='" + connection.id + "' style='position:absolute;top:0;left:0;width:0;height:0;visibility:hidden;' src=''></iframe>");
if (window.EventSource) {
// If the browser supports SSE, don't use Forever Frame
Oops, something went wrong.
@@ -961,7 +961,7 @@
frameId = (transportLogic.foreverFrame.count += 1),
url,
connectTimeOut,
- frame = $("<iframe data-signalr-connection-id='" + connection.id + "' style='position:absolute;top:0;left:0;width:0;height:0;visibility:hidden;'></iframe>");
+ frame = $("<iframe data-signalr-connection-id='" + connection.id + "' style='position:absolute;top:0;left:0;width:0;height:0;visibility:hidden;' src=''></iframe>");
if (window.EventSource) {
// If the browser supports SSE, don't use Forever Frame
Oops, something went wrong.
@@ -961,7 +961,7 @@
frameId = (transportLogic.foreverFrame.count += 1),
url,
connectTimeOut,
- frame = $("<iframe data-signalr-connection-id='" + connection.id + "' style='position:absolute;top:0;left:0;width:0;height:0;visibility:hidden;'></iframe>");
+ frame = $("<iframe data-signalr-connection-id='" + connection.id + "' style='position:absolute;top:0;left:0;width:0;height:0;visibility:hidden;' src=''></iframe>");
if (window.EventSource) {
// If the browser supports SSE, don't use Forever Frame
Oops, something went wrong.

0 comments on commit 6f77371

Please sign in to comment.