]> git.mxchange.org Git - quix0rs-gnu-social.git/commitdiff
dis -> fav
authorEvan Prodromou <evan@controlyourself.ca>
Thu, 18 Sep 2008 15:16:42 +0000 (11:16 -0400)
committerEvan Prodromou <evan@controlyourself.ca>
Thu, 18 Sep 2008 15:16:42 +0000 (11:16 -0400)
darcs-hash:20080918151642-5ed1f-ceb2678a7818cadf3928257504f3e14eb179c749.gz

js/util.js

index 11fc6e68a75e8d82384b944ab5c6f46859755f28..fe3ed74dc2d42d1d5dca52151d78fbc59e7c196f 100644 (file)
@@ -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);                    ;
                }};