aboutsummaryrefslogtreecommitdiffstats
path: root/include/main.js
diff options
context:
space:
mode:
authorFriendika <info@friendika.com>2011-02-17 01:06:20 -0800
committerFriendika <info@friendika.com>2011-02-17 01:06:20 -0800
commit45bd7d5e290957a6af38cd44a32033938b8ccdb0 (patch)
tree3097cdf0c1bdfa199b41190b092b101cf7c3335b /include/main.js
parent979307ef916c79bb805875f9d7cf34103e11f675 (diff)
downloadvolse-hubzilla-45bd7d5e290957a6af38cd44a32033938b8ccdb0.tar.gz
volse-hubzilla-45bd7d5e290957a6af38cd44a32033938b8ccdb0.tar.bz2
volse-hubzilla-45bd7d5e290957a6af38cd44a32033938b8ccdb0.zip
no delimiter if empty
Diffstat (limited to 'include/main.js')
-rw-r--r--include/main.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/main.js b/include/main.js
index 9e657f335..824f2dfdf 100644
--- a/include/main.js
+++ b/include/main.js
@@ -108,7 +108,7 @@
prev = 'live-' + src;
in_progress = true;
- var udargs = '/' + netargs;
+ var udargs = ((netargs.length) ? '/' + netargs : '');
var update_url = 'update_' + src + udargs + '?p=' + profile_uid + '&page=' + profile_page + '&msie=' + ((msie) ? 1 : 0);
$.get(update_url,function(data) {