diff options
-rw-r--r-- | js/util.js | 2 |
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); ; }}; |