Skip to content

Commit a4fed75

Browse files
author
Fred Heusschen
committed
docs typo
1 parent 0bd2d7f commit a4fed75

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

index.html

+1-2
Original file line numberDiff line numberDiff line change
@@ -119,8 +119,7 @@ <h3>Native webcomponent</h3>
119119
<script>
120120
document.addEventListener('click', ( evnt ) => {
121121
var target = evnt.target;
122-
console.log(target)
123-
if ( target.matches('.xmpl') || target.closest('.xmpl') ) {
122+
if ( target.closest('.xmpl') ) {
124123
target.closest('.xmpl').classList.toggle( 'mm-wrapper_opened' );
125124
}
126125
});

0 commit comments

Comments
 (0)