Index: ajax_poll.js
===================================================================
RCS file: /cvs/drupal-contrib/contributions/modules/ajax_poll/ajax_poll.js,v
retrieving revision 1.1.2.1
diff -u -p -r1.1.2.1 ajax_poll.js
--- ajax_poll.js	11 Jul 2010 22:19:07 -0000	1.1.2.1
+++ ajax_poll.js	16 Jan 2011 11:58:56 -0000
@@ -13,7 +13,7 @@ Drupal.behaviors.ajaxPoll = function(con
   $('form.ajax-poll:not(.ajax-poll-processed)', context).addClass('ajax-poll-processed').each(function() {
     // Find the form and poll wrapper items that will be affected.
     var $form = $(this);
-    var $pollWrapper = $form.parents('.content, .poll');
+    var $pollWrapper = $form.parent('.content, .poll');
 
     // Find all the settings for this form.
     var url = $form.find('input[name=ajax_url]').val();
