mirror of
https://github.com/Jermolene/TiddlyWiki5
synced 2024-12-25 17:40:29 +00:00
updated false states — looks more conclusive
This commit is contained in:
parent
a1ca53fa9b
commit
0dd3ad5e38
@ -305,8 +305,8 @@ ListItemWidget.prototype.execute = function() {
|
||||
// Set the current list item title
|
||||
this.setVariable(item.variableName,item.itemTitle);
|
||||
this.setVariable(item.iterator,(item.index + 1).toString());
|
||||
this.setVariable(item.iterator + "-even",item.index % 2 == 1 ? 'true' : '');
|
||||
this.setVariable(item.iterator + "-last",item.index + 1 == item.count ? 'true' : '');
|
||||
this.setVariable(item.iterator + "-even",item.index % 2 == 1 ? 'true' : 'false');
|
||||
this.setVariable(item.iterator + "-last",item.index + 1 == item.count ? 'true' : 'false');
|
||||
|
||||
// Construct the child widgets
|
||||
this.makeChildWidgets();
|
||||
|
Loading…
Reference in New Issue
Block a user