summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorArthur Schiwon <blizzz@owncloud.com>2012-11-16 20:28:58 +0100
committerArthur Schiwon <blizzz@owncloud.com>2012-11-26 14:34:51 +0100
commite5ad774ab0058ef22396990771138b249355156e (patch)
tree5e51a16c741ca05ad195df27d808983b6fbbbce6
parent4764876192bae91eaba86f3e0ca9f4c7ea8d20be (diff)
downloadnextcloud-server-e5ad774ab0058ef22396990771138b249355156e.tar.gz
nextcloud-server-e5ad774ab0058ef22396990771138b249355156e.zip
coding style
-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++