2013-08-01 10:33:49 +08:00
|
|
|
<% selector = ".#{watcher_css(watched)}" %>
|
|
|
|
$("<%= selector %>").each(function(){$(this).replaceWith("<%= escape_javascript watcher_link(watched, user) %>")});
|
2013-08-10 17:07:29 +08:00
|
|
|
|
|
|
|
$('#fans_num').html('<%= j(render :partial => "/watchers/fans_num",:locals => {:fans_num => get_fans_num(@user) }
|
|
|
|
) %>');
|