1
0
mirror of https://github.com/Jermolene/TiddlyWiki5 synced 2024-06-16 10:29:54 +00:00

Improve comments

As per @pmario's comment at 582b156d5f (commitcomment-51566608)
This commit is contained in:
jeremy@jermolene.com 2021-06-01 11:49:05 +01:00
parent 9faaa31299
commit 55c522ab8f

View File

@ -569,8 +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];
// Invoke the child if it is an action widget
// 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) {
if(child.invokeAction(triggeringWidget,event)) {
handled = true;