aboutsummaryrefslogtreecommitdiffstats
path: root/lib
diff options
context:
space:
mode:
Diffstat (limited to 'lib')
-rw-r--r--lib/dom_utils.coffee2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/dom_utils.coffee b/lib/dom_utils.coffee
index cd9e0405..ef34207e 100644
--- a/lib/dom_utils.coffee
+++ b/lib/dom_utils.coffee
@@ -18,7 +18,7 @@ DomUtils =
# The document namespace doesn't give (X)HTML elements, so we create them with the correct namespace
# manually.
@createElement = document.createElementNS.bind document, "http://www.w3.org/1999/xhtml"
- @createElement()
+ @createElement(tagName)
#
# Adds a list of elements to a page.