Browse Source

Fixed examples toggle button.

Mr.doob 7 years ago
parent
commit
d97be6696b
1 changed files with 1 additions and 1 deletions
  1. 1 1
      examples/index.html

+ 1 - 1
examples/index.html

@@ -261,7 +261,7 @@
 		var expandButton = document.getElementById( 'expandButton' );
 		expandButton.addEventListener( 'click', function ( event ) {
 			event.preventDefault();
-			panel.classList.remove( 'collapsed' );
+			panel.classList.toggle( 'collapsed' );
 		} );
 
 		// iOS iframe auto-resize workaround