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

examples: fix dark theme on empty location hash (#21932)

Co-authored-by: NFelix Mariotto <felixmariotto@gmail.com>
上级 a51c59a9
......@@ -118,6 +118,7 @@
selectFile( file );
viewer.src = validRedirects.get( file );
viewer.style.display = 'unset';
}
......@@ -234,6 +235,7 @@
window.location.hash = file;
viewer.focus();
viewer.style.display = 'unset';
panel.classList.remove( 'open' );
......
......@@ -383,6 +383,7 @@ iframe {
width: 100%;
height: 100%;
overflow: auto;
display: none;
}
#viewer {
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册