diff options
Diffstat (limited to 'view/jot-header.tpl')
-rw-r--r-- | view/jot-header.tpl | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/view/jot-header.tpl b/view/jot-header.tpl index 8505b53bc..78e0151d8 100644 --- a/view/jot-header.tpl +++ b/view/jot-header.tpl @@ -53,8 +53,8 @@ tinyMCE.init({ var src = null; $(document).ready(function() { - if($('#live-network').length) { src = 'net'; setTimeout(liveUpdate, 30000); } - if($('#live-profile').length) { src = 'wall'; setTimeout(liveUpdate, 30000); } + if($('#live-network').length) { src = 'network'; setTimeout(liveUpdate, 30000); } + if($('#live-profile').length) { src = 'profile'; setTimeout(liveUpdate, 30000); } }); function liveUpdate() { @@ -64,9 +64,9 @@ tinyMCE.init({ return; } -// $.get("live_update",function(data) +// $.get('update_' + src,function(data) // { -// $(data).find('result').each(function() { +// $(data).find('#wall-item-outside-wrapper').each(function() { // var net = $(this).find('net').text(); // if(net == 0) { net = ''; } // $('#net-update').html(net); |