Skip to content

Commit 23f8b2d

Browse files
author
Alex Iglesias
committedJan 26, 2021
Fixed events not working
1 parent 72602e4 commit 23f8b2d

File tree

2 files changed

+5
-5
lines changed

2 files changed

+5
-5
lines changed
 

‎dist/index.js

+1-1
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

‎src/editor-friendly-link-blocks/index.ts

+4-4
Original file line numberDiff line numberDiff line change
@@ -4,11 +4,11 @@ export default class EditorFriendlyLinkBlocks {
44
this.handleAccessibility();
55

66
// Listen to events
7-
window.addEventListener('click', () => {
8-
this.handleTargets;
7+
window.addEventListener('click', (e) => {
8+
this.handleTargets(e);
99
});
10-
window.addEventListener('keydown', () => {
11-
this.handleTargets;
10+
window.addEventListener('keydown', (e) => {
11+
this.handleTargets(e);
1212
});
1313
}
1414

0 commit comments

Comments
 (0)