1
0
mirror of https://github.com/Jermolene/TiddlyWiki5 synced 2024-11-23 10:07:19 +00:00

Revert 582b156d5f: Refresh non-action widgets before invocation

This commit is contained in:
jeremy@jermolene.com 2021-06-02 21:47:28 +01:00
parent 753bf8fe62
commit 056e6541a1

View File

@ -569,10 +569,9 @@ Widget.prototype.invokeActions = function(triggeringWidget,event) {
// For each child widget
for(var t=0; t<this.children.length; t++) {
var child = this.children[t];
// Rerender the child to ensure the attribute values are up to date
child.refreshSelf();
// Invoke the child if it is an action widget
if(child.invokeAction) {
child.refreshSelf();
if(child.invokeAction(triggeringWidget,event)) {
handled = true;
}