提交 a51c59a9 编写于 作者: F Felix Mariotto 提交者: Mr.doob

doc: fix dark theme on empty location hash (#21929)

Co-authored-by: NFelix Mariotto <felixmariotto@gmail.com>
上级 b51624a1
......@@ -492,11 +492,13 @@
iframe.src = splitHash[ 0 ] + '.html' + splitHash[ 1 ];
subtitle = titles[ splitHash[ 0 ] ] + splitHash[ 1 ] + '';
iframe.style.display = 'unset';
} else {
iframe.src = '';
subtitle = '';
iframe.style.display = 'none';
}
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册