Skip to content

Commit a842e43

Browse files
Fix undefined value in performance.mark
1 parent 71c2879 commit a842e43

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

photo-gallery/gallery.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -404,7 +404,7 @@ addEventListener('click', e => {
404404
dataType: "marker",
405405
color: "secondary-dark",
406406
properties: [
407-
['photo', clickedPhoto.src]
407+
['photo', e.target.src]
408408
],
409409
tooltipText: "Photo selected"
410410
}

0 commit comments

Comments
 (0)