another javascript fix

This commit is contained in:
Tyler Renelle 2012-02-04 11:41:51 -05:00
parent fdab691cb9
commit 30a149551d

View file

@ -1,2 +1,2 @@
$('#habit_<%= @habit.id %>').replaceWith("<%= escape_javascript(render :partial => "habit", :locals => { :habit => @habit }) %>");
$('#score').replaceWith("<%= @score %>");
$('#score').html("<%= @score %>");