From 515f7875ce723e546ece1d896f81302e6eb3da7a Mon Sep 17 00:00:00 2001 From: Evan Prodromou Date: Thu, 18 Sep 2008 11:16:42 -0400 Subject: dis -> fav darcs-hash:20080918151642-5ed1f-ceb2678a7818cadf3928257504f3e14eb179c749.gz --- js/util.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'js') 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); ; }}; -- cgit v1.2.3-54-g00ecf