Fix typo breaking modals without memcached

This commit is contained in:
Gregor Kleen 2018-12-05 20:57:04 +01:00
parent 5c8f837b88
commit 32e6306cd5

View File

@ -76,7 +76,7 @@
var scriptClone = document.createElement('script');
if (scriptTag.text)
scriptClone.text = striptTag.text;
scriptClone.text = scriptTag.text;
if (scriptTag.hasAttributes()) {
var attrs = scriptTag.attributes;
for (var i = attrs.length - 1; i >= 0; i--) {