2
0
Эх сурвалжийг харах

Fixed examples toggle button.

Mr.doob 7 жил өмнө
parent
commit
d97be6696b
1 өөрчлөгдсөн 1 нэмэгдсэн , 1 устгасан
  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