aboutsummaryrefslogtreecommitdiffstats
path: root/core/js/octemplate.js
diff options
context:
space:
mode:
Diffstat (limited to 'core/js/octemplate.js')
-rw-r--r--core/js/octemplate.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/core/js/octemplate.js b/core/js/octemplate.js
index 67aa7d69cce..b24ad95c2b0 100644
--- a/core/js/octemplate.js
+++ b/core/js/octemplate.js
@@ -76,7 +76,7 @@
},
// From stackoverflow.com/questions/1408289/best-way-to-do-variable-interpolation-in-javascript
_build: function(o){
- var data = this.elem.attr('type') === 'text/template' ? this.elem.html() : outerHTML(this.elem.get(0));
+ var data = this.elem.attr('type') === 'text/template' ? this.elem.html() : this.elem.get(0).outerHTML;
try {
return data.replace(/{([^{}]*)}/g,
function (a, b) {