Properly close script tag

This commit is contained in:
Paulus Schoutsen 2019-07-21 11:30:57 -07:00
parent 56c08a1d07
commit f32eb971a4

View File

@ -17,7 +17,7 @@
}; };
if (!("customElements" in window && if (!("customElements" in window &&
"content" in document.createElement("template"))) { "content" in document.createElement("template"))) {
document.write("<script src='/static/polyfills/webcomponents-bundle.js'>"); document.write("<script src='/static/polyfills/webcomponents-bundle.js'></script>");
} }
var isS101 = /\s+Version\/10\.1(?:\.\d+)?\s+Safari\//.test(navigator.userAgent); var isS101 = /\s+Version\/10\.1(?:\.\d+)?\s+Safari\//.test(navigator.userAgent);
</script> </script>