Skip to content

Commit

Permalink
fix: use variable instead of constant to control propagation of click…
Browse files Browse the repository at this point in the history
… event
  • Loading branch information
guicassolato committed Nov 27, 2023
1 parent 73fea5b commit aea6dbf
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@ This file is structured according to the [Keep a Changelog](http://keepachangelo
### Fixed

- Reveal active column on reload preview
- Proper propagation of the click event in the preview window

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

Expand Down
2 changes: 1 addition & 1 deletion media/main.js
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@
};

document.body.addEventListener('click', event => {
const node = event && event.target;
let node = event && event.target;
while (node) {
if (node.href) {
let href = node.getAttribute('href');
Expand Down

0 comments on commit aea6dbf

Please sign in to comment.