Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 2 additions & 0 deletions examples/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -105,6 +105,7 @@ <h1><a href="https://threejs.org">three.js</a></h1>

selectFile( file );
viewer.src = validRedirects.get( file );
viewer.style.display = 'unset';

}

Expand Down Expand Up @@ -221,6 +222,7 @@ <h1><a href="https://threejs.org">three.js</a></h1>

window.location.hash = file;
viewer.focus();
viewer.style.display = 'unset';

panel.classList.remove( 'open' );

Expand Down
1 change: 1 addition & 0 deletions files/main.css
Original file line number Diff line number Diff line change
Expand Up @@ -383,6 +383,7 @@ iframe {
width: 100%;
height: 100%;
overflow: auto;
display: none;
Copy link
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Heh... This made all the projects in https://threejs.org/ disappear 😅

Copy link
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I've reverted this line for now: 4f4c845

Would display: unset; work?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@mrdoob I can't find the html file of the home page, it's not in the repo ?

We could replace this line with the following, since #viewer in the homepage is a div :

iframe#viewer {
	display: none;
}

Copy link
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@mrdoob I can't find the html file of the home page, it's not in the repo ?

It's in the gh-pages branch.

We could replace this line with the following, since #viewer in the homepage is a div :

Sounds good!

}

#viewer {
Expand Down