This is an automated email from the ASF dual-hosted git repository.
wangzx pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/echarts-www.git
The following commit(s) were added to refs/heads/master by this push:
new 28339c2f fix #59
28339c2f is described below
commit 28339c2f51bc028dbd2fbd915d2d18f51d681b2e
Author: Zhongxiang Wang <[email protected]>
AuthorDate: Fri Jan 17 14:22:55 2025 +0800
fix #59
---
_jade/layouts/basic.jade | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/_jade/layouts/basic.jade b/_jade/layouts/basic.jade
index 01ea199d..d70bfa45 100644
--- a/_jade/layouts/basic.jade
+++ b/_jade/layouts/basic.jade
@@ -48,7 +48,7 @@ html(lang='#{htmlAttrLang}')
script(id='font-hack', type='text/javascript').
if (/windows/i.test(navigator.userAgent)) {
var el = document.createElement('style');
- el.innerHTML = ''
+ el.innerText = ''
+ '@font-face
{font-family:"noto-thin";src:local("Microsoft Yahei");}'
+ '@font-face
{font-family:"noto-light";src:local("Microsoft Yahei");}';
document.head.insertBefore(el,
document.getElementById('font-hack'));
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]