Skip to content

Commit 3c10b19

Browse files
committed
Fix Day 5, props krischamp.
1 parent 58f948b commit 3c10b19

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

05 - Flex Panel Gallery/index.html

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -71,7 +71,7 @@
7171
function handleTransition( e ) {
7272
if ( this.classList.contains( 'closing' ) ) {
7373
if (
74-
( this.classList.contains( 'open' ) && e.propertyName.contains( 'flex' ) )
74+
( this.classList.contains( 'open' ) && e.propertyName.includes( 'flex' ) )
7575
|| 'transform' === e.propertyName
7676
) {
7777
this.classList.remove( 'open' );
@@ -81,7 +81,7 @@
8181
return;
8282
}
8383

84-
if ( this.classList.contains( 'open' ) && e.propertyName.contains( 'flex' ) ) {
84+
if ( this.classList.contains( 'open' ) && e.propertyName.includes( 'flex' ) ) {
8585
this.classList.add( 'open-active' );
8686
}
8787
}

0 commit comments

Comments
 (0)