Add modifier variable to linkcatcher actionstring (#4758)

* Add modifier variable to linkcatcher actionstring

* Update LinkCatcherWidget.tid
This commit is contained in:
Simon Huber
2020-07-15 12:27:14 +01:00
committed by GitHub
parent 484c9e986f
commit 95e30138f0
2 changed files with 3 additions and 2 deletions
+2 -1
View File
@@ -87,7 +87,8 @@ LinkCatcherWidget.prototype.handleNavigateEvent = function(event) {
}
if(this.catchActions) {
this.executingActions = true;
this.invokeActionString(this.catchActions,this,event,{navigateTo: event.navigateTo});
var modifierKey = $tw.keyboardManager.getEventModifierKeyDescriptor(event);
this.invokeActionString(this.catchActions,this,event,{navigateTo: event.navigateTo, modifier: modifierKey});
this.executingActions = false;
}
} else {