diff options
Diffstat (limited to 'tests/fixtures')
| -rw-r--r-- | tests/fixtures/todo-app/index.html | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/fixtures/todo-app/index.html b/tests/fixtures/todo-app/index.html index bbf0963..4dea1b4 100644 --- a/tests/fixtures/todo-app/index.html +++ b/tests/fixtures/todo-app/index.html @@ -31,10 +31,10 @@ [data-instance='task-item'] { --text: default text; - --checked: '0'; + --checked: false; --cssx-on-mount: set-attr('data-testid', attr(id)); - --cssx-on-click: update(--checked, '1'); + --cssx-on-click: update(--checked, if(var(--checked), false, true)); } [data-instance='task-item']::after { content: var(--text); |
