mirror of
https://github.com/Jermolene/TiddlyWiki5
synced 2025-09-02 10:58:01 +00:00
Linkcatcher should pass through event objects (#7401)
This commit is contained in:
@@ -92,12 +92,9 @@ LinkCatcherWidget.prototype.handleNavigateEvent = function(event) {
|
||||
this.executingActions = false;
|
||||
}
|
||||
} else {
|
||||
// This is a navigate event generated by the actions of this linkcatcher, so we don't trap it again, but just pass it to the parent
|
||||
this.parentWidget.dispatchEvent({
|
||||
type: "tm-navigate",
|
||||
param: event.navigateTo,
|
||||
navigateTo: event.navigateTo
|
||||
});
|
||||
// This is a navigate event generated by the actions of this linkcatcher,
|
||||
// so we don't trap it again, but just pass it to the parent
|
||||
this.parentWidget.dispatchEvent(event);
|
||||
}
|
||||
return false;
|
||||
};
|
||||
|
Reference in New Issue
Block a user