summaryrefslogtreecommitdiffstats
path: root/core/js
diff options
context:
space:
mode:
Diffstat (limited to 'core/js')
-rw-r--r--core/js/eventsource.js3
1 files changed, 2 insertions, 1 deletions
diff --git a/core/js/eventsource.js b/core/js/eventsource.js
index 2bd080fba76..844c327e12d 100644
--- a/core/js/eventsource.js
+++ b/core/js/eventsource.js
@@ -65,7 +65,8 @@ OC.EventSource=function(src,data){
if(src.indexOf('?') == -1) {
joinChar = '?';
}
- alert(src.indexOf('?')); this.iframe.attr('src',src+joinChar+'fallback=true&fallback_id='+OC.EventSource.iframeCount+'&'+dataStr);
+ alert(src.indexOf('?'));
+ this.iframe.attr('src',src+joinChar+'fallback=true&fallback_id='+OC.EventSource.iframeCount+'&'+dataStr);
$('body').append(this.iframe);
this.useFallBack=true;
OC.EventSource.iframeCount++