summaryrefslogtreecommitdiffstats
path: root/core/js/eventsource.js
diff options
context:
space:
mode:
authorArthur Schiwon <blizzz@owncloud.com>2012-11-16 20:28:58 +0100
committerJörn Friedrich Dreyer <jfd@butonic.de>2012-11-26 17:39:20 +0100
commit15a485cbdb90d1b6a209d58133369e86120d7d07 (patch)
treeb73599558fbf47e4238ea18736d6c0ce1843a7f5 /core/js/eventsource.js
parent440828f0f1c62cbf7ab7a51c8f83868fe331df69 (diff)
downloadnextcloud-server-15a485cbdb90d1b6a209d58133369e86120d7d07.tar.gz
nextcloud-server-15a485cbdb90d1b6a209d58133369e86120d7d07.zip
coding style
Diffstat (limited to 'core/js/eventsource.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 4f4515f736a..2250a9cb9d6 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++