mirror of
https://github.com/Jermolene/TiddlyWiki5
synced 2024-11-23 10:07:19 +00:00
Link widget: Include original event in tm-navigate (#4724)
This commit is contained in:
parent
6645afcd15
commit
48c6146ab6
@ -158,7 +158,8 @@ LinkWidget.prototype.handleClickEvent = function(event) {
|
||||
metaKey: event.metaKey,
|
||||
ctrlKey: event.ctrlKey,
|
||||
altKey: event.altKey,
|
||||
shiftKey: event.shiftKey
|
||||
shiftKey: event.shiftKey,
|
||||
event: event
|
||||
});
|
||||
if(this.domNodes[0].hasAttribute("href")) {
|
||||
event.preventDefault();
|
||||
|
Loading…
Reference in New Issue
Block a user