summary refs log tree commit diff
path: root/lib/htmlbuilder.js
diff options
context:
space:
mode:
Diffstat (limited to 'lib/htmlbuilder.js')
-rw-r--r--lib/htmlbuilder.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/htmlbuilder.js b/lib/htmlbuilder.js
index 483b77b..110da39 100644
--- a/lib/htmlbuilder.js
+++ b/lib/htmlbuilder.js
@@ -8,7 +8,7 @@ function makeSigmaHtmlPlusElement(elem) {
         elem.innerHTML = html;
         return elem;
     }
-    elem.text = function (text) {
+    elem.text = elem.txt = function (text) {
         elem.innerText = text;
         return elem;
     }