From: Evan Prodromou Date: Thu, 18 Sep 2008 15:16:42 +0000 (-0400) Subject: dis -> fav X-Git-Url: https://git.mxchange.org/?a=commitdiff_plain;h=515f7875ce723e546ece1d896f81302e6eb3da7a;p=quix0rs-gnu-social.git dis -> fav darcs-hash:20080918151642-5ed1f-ceb2678a7818cadf3928257504f3e14eb179c749.gz --- diff --git a/js/util.js b/js/util.js index 11fc6e68a7..fe3ed74dc2 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); ; }};