socialforge/app/views/watchers/_set_watcher.js.erb

3 lines
160 B
Plaintext
Raw Normal View History

2013-08-01 10:33:49 +08:00
<% selector = ".#{watcher_css(watched)}" %>
$("<%= selector %>").each(function(){$(this).replaceWith("<%= escape_javascript watcher_link(watched, user) %>")});