--- advpoll-vote.js.orig	2010-06-22 11:31:00.000000000 +0200
+++ advpoll-vote.js	2010-06-22 22:53:19.484375000 +0200
@@ -46,8 +46,8 @@ Drupal.behaviors.handleWriteins = functi
     }
     var ranOnce = false;
     // Toggle display of the write-in text box for radios/checkboxes.
-    $(".vote-choices input[@type=radio], .vote-choices input[@type=checkbox]", poll).click(function() {
-      var isLast = $(this).val() == $(".vote-choices input[@type=radio]:last, .vote-choices input[@type=checkbox]:last", poll).val();
+    $(".vote-choices input[type=radio], .vote-choices input[type=checkbox]", poll).click(function() {
+      var isLast = $(this).val() == $(".vote-choices input[type=radio]:last, .vote-choices input[type=checkbox]:last", poll).val();
       var type = $(this).attr("type"); 
       // The logic here is tricky but intentional.
       if (isLast || type == "radio") {
