summaryrefslogtreecommitdiff
path: root/docs
diff options
context:
space:
mode:
Diffstat (limited to 'docs')
-rw-r--r--docs/lab/index.html3
1 files changed, 2 insertions, 1 deletions
diff --git a/docs/lab/index.html b/docs/lab/index.html
index d5953f076..32f777e13 100644
--- a/docs/lab/index.html
+++ b/docs/lab/index.html
@@ -937,10 +937,11 @@ canvas {
<script type="text/javascript">
const fontVersion = Math.round(Date.now()).toString(36)
-const fontFamilyName = 'Interface-v' + fontVersion
+let fontFamilyName = 'Interface-v' + fontVersion
const fontCSSTemplate = document.querySelector('#font-css')
const fontCSS = fontCSSTemplate.cloneNode(true)
fontCSS.innerHTML = fontCSS.innerHTML.replace(/Interface-VERSION/g, fontFamilyName)
+fontFamilyName += ', Interface'
fontCSS.setAttribute('id', '')
fontCSS.setAttribute('type', 'text/css')
document.head.appendChild(fontCSS)