summaryrefslogtreecommitdiffstats
path: root/app/views/watchers/destroy.js.erb
diff options
context:
space:
mode:
Diffstat (limited to 'app/views/watchers/destroy.js.erb')
-rw-r--r--app/views/watchers/destroy.js.erb2
1 files changed, 1 insertions, 1 deletions
diff --git a/app/views/watchers/destroy.js.erb b/app/views/watchers/destroy.js.erb
index 4c3bb1930..e4d856549 100644
--- a/app/views/watchers/destroy.js.erb
+++ b/app/views/watchers/destroy.js.erb
@@ -1 +1 @@
-Element.update('watchers', '<%= escape_javascript(render(:partial => 'watchers/watchers', :locals => {:watched => @watched})) %>');
+$('#watchers').html('<%= escape_javascript(render(:partial => 'watchers/watchers', :locals => {:watched => @watched})) %>');