We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 58f948b commit 3c10b19Copy full SHA for 3c10b19
05 - Flex Panel Gallery/index.html
@@ -71,7 +71,7 @@
71
function handleTransition( e ) {
72
if ( this.classList.contains( 'closing' ) ) {
73
if (
74
- ( this.classList.contains( 'open' ) && e.propertyName.contains( 'flex' ) )
+ ( this.classList.contains( 'open' ) && e.propertyName.includes( 'flex' ) )
75
|| 'transform' === e.propertyName
76
) {
77
this.classList.remove( 'open' );
@@ -81,7 +81,7 @@
81
return;
82
}
83
84
- if ( this.classList.contains( 'open' ) && e.propertyName.contains( 'flex' ) ) {
+ if ( this.classList.contains( 'open' ) && e.propertyName.includes( 'flex' ) ) {
85
this.classList.add( 'open-active' );
86
87
0 commit comments