summaryrefslogtreecommitdiff
path: root/src/html/html_button_element.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/html/html_button_element.c')
-rw-r--r--src/html/html_button_element.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/html/html_button_element.c b/src/html/html_button_element.c
index d914ae3..5d2ba49 100644
--- a/src/html/html_button_element.c
+++ b/src/html/html_button_element.c
@@ -60,6 +60,8 @@ dom_exception _dom_html_button_element_initialise(struct dom_html_document *doc,
dom_string *namespace, dom_string *prefix,
struct dom_html_button_element *ele)
{
+ ele->form = NULL;
+
return _dom_html_element_initialise(doc, &ele->base,
doc->memoised[hds_BUTTON],
namespace, prefix);