Minor layout change.
[wolnelektury.git] / src / wolnelektury / static / js / base.js
index 7d311fc..377a969 100644 (file)
             return false;
         });
 
+        $("#id_method").val('payu-re');
+        $(".methods .button").click(function() {
+            $("#id_method").val($(this).attr('data-method'));
+            $(".methods .button").removeClass('active');
+            $(this).addClass("active");
+        });
+
     });
 })(jQuery);