no delimiter if empty

This commit is contained in:
Friendika 2011-02-17 01:06:20 -08:00
parent 979307ef91
commit 45bd7d5e29
1 changed files with 1 additions and 1 deletions

View File

@ -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) {