Index: updown.js
===================================================================
RCS file: /cvs/drupal-contrib/contributions/modules/updown/Attic/updown.js,v
retrieving revision 1.1.2.3
diff -u -p -r1.1.2.3 updown.js
--- updown.js	23 Aug 2008 00:08:30 -0000	1.1.2.3
+++ updown.js	9 Sep 2008 15:59:23 -0000
@@ -6,6 +6,10 @@ Drupal.behaviors.voteUpDown = function()
 
   // clicking on the '+' or '-' buttons
   voteElement.find('a').click(function() {
+    thisWidget = $(this).parent().parent().parent();
+    currentScore = thisWidget.children('.updown-score').children('.updown-current-score');
+    voteElement = thisWidget.find('.updown-vote');
+    voteUndoElement = thisWidget.find('.updown-voteundo');
     $.get($(this).attr('href'), function(data) {
       data = Drupal.parseJson(data);
       currentScore.html(data.score.toString());
@@ -20,6 +24,10 @@ Drupal.behaviors.voteUpDown = function()
   
   // clicking on the 'undo' button
   voteUndoElement.find('a').click(function() {
+    thisWidget = $(this).parent().parent();
+    currentScore = thisWidget.children('.updown-score').children('.updown-current-score');
+    voteElement = thisWidget.find('.updown-vote');
+    voteUndoElement = thisWidget.find('.updown-voteundo');
     $.get($(this).attr('href'), function(data) {
       data = Drupal.parseJson(data);
       currentScore.html(data.score.toString());
