--- uc_discount_old.js	2011-05-10 11:58:00.000000000 +0200
+++ uc_discount.js	2011-05-10 15:39:10.000000000 +0200
@@ -5,23 +5,23 @@
  */
 
 var pane = '';
-if ($("input[@name*=delivery_]").length) {
+if ($("input[name*=delivery_]").length) {
   pane = 'delivery'
 }
-else if ($("input[@name*=billing_]").length) {
+else if ($("input[name*=billing_]").length) {
   pane = 'billing'
 }
 
 $(document).ready(function() {
   getDiscounts();
-  $("select[@name*=delivery_country], "
-    + "select[@name*=delivery_zone], "
-    + "input[@name*=delivery_city], "
-    + "input[@name*=delivery_postal_code], "
-    + "select[@name*=billing_country], "
-    + "select[@name*=billing_zone], "
-    + "input[@name*=billing_city], "
-    + "input[@name*=billing_postal_code]").change(getDiscounts);
+  $("select[name*=delivery_country], "
+    + "select[name*=delivery_zone], "
+    + "input[name*=delivery_city], "
+    + "input[name*=delivery_postal_code], "
+    + "select[name*=billing_country], "
+    + "select[name*=billing_zone], "
+    + "input[name*=billing_city], "
+    + "input[name*=billing_postal_code]").change(getDiscounts);
   $('#edit-panes-payment-current-total').click(getDiscounts);
 });
 
