aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-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) {