summaryrefslogtreecommitdiff
path: root/js
diff options
context:
space:
mode:
authorEvan Prodromou <evan@controlyourself.ca>2008-09-18 11:16:42 -0400
committerEvan Prodromou <evan@controlyourself.ca>2008-09-18 11:16:42 -0400
commit515f7875ce723e546ece1d896f81302e6eb3da7a (patch)
tree25bbf379798b2365bbd4492e40c45475c4ed86bc /js
parenta0ef34cb1a2bfdc266f48fe13da75815c96941f9 (diff)
dis -> fav
darcs-hash:20080918151642-5ed1f-ceb2678a7818cadf3928257504f3e14eb179c749.gz
Diffstat (limited to 'js')
-rw-r--r--js/util.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/js/util.js b/js/util.js
index 11fc6e68a..fe3ed74dc 100644
--- a/js/util.js
+++ b/js/util.js
@@ -68,7 +68,7 @@ $(document).ready(function(){
success: function(xml) {
var new_form = $('form.favor', xml).get(0);
var fav = new_form.id;
- var dis = dis.replace('favor', 'disfavor');
+ var dis = fav.replace('favor', 'disfavor');
$('form#'+dis).replaceWith(new_form);
$('form#'+fav).ajaxForm(favoptions).each(addAjaxHidden); ;
}};