Skip to content

Commit 1f35ed3

Browse files
authored
Merge pull request #51 from guicassolato/fix-event-propagation
Proper propagation of the click event
2 parents 73fea5b + aea6dbf commit 1f35ed3

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed

CHANGELOG.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,7 @@ This file is structured according to the [Keep a Changelog](http://keepachangelo
99
### Fixed
1010

1111
- Reveal active column on reload preview
12+
- Proper propagation of the click event in the preview window
1213

1314
## [v0.8.0] - 2023-03-17
1415

media/main.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@
3535
};
3636

3737
document.body.addEventListener('click', event => {
38-
const node = event && event.target;
38+
let node = event && event.target;
3939
while (node) {
4040
if (node.href) {
4141
let href = node.getAttribute('href');

0 commit comments

Comments
 (0)