Skip to content

Commit b20afc1

Browse files
authored
Fix event listener method for content opacity (#907)
1 parent cda3bd2 commit b20afc1

File tree

1 file changed

+2
-2
lines changed
  • samples/advanced-markers-animation

1 file changed

+2
-2
lines changed

samples/advanced-markers-animation/index.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -87,7 +87,7 @@
8787
});
8888

8989
content.style.opacity = '0';
90-
content.addEventListener('animationend', (event) => {
90+
content.addListener('animationend', (event) => {
9191
content.classList.remove('drop');
9292
content.style.opacity = '1';
9393
});
@@ -108,4 +108,4 @@
108108
}
109109

110110
initMap();
111-
// [END maps_advanced_markers_animation]
111+
// [END maps_advanced_markers_animation]

0 commit comments

Comments
 (0)