Index: static/js/index.js |
=================================================================== |
--- a/static/js/index.js |
+++ b/static/js/index.js |
@@ -46,6 +46,7 @@ |
function initSubscriptionForm(subscriptionElement) |
{ |
var emailTextbox = subscriptionElement.querySelectorAll(".subscribe-textbox")[0]; |
+ var reset = subscriptionElement.querySelectorAll(".reset-form")[0]; |
// IE9 + Safari iOS |
if (!("placeholder" in document.createElement("input")) |
@@ -115,6 +116,12 @@ |
request.send(params); |
return false; |
}, false); |
+ |
+ addListener(reset, "click", function() |
+ { |
+ formElement.removeAttribute("class"); |
+ return false; |
+ }, false); |
} |
var visibleTab; |