mirror of
https://github.com/Jermolene/TiddlyWiki5
synced 2024-11-23 10:07:19 +00:00
Improve comments
As per @pmario's comment at 582b156d5f (commitcomment-51566608)
This commit is contained in:
parent
9faaa31299
commit
55c522ab8f
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user