Skip to content

Commit e5a5667

Browse files
committed
Update todo example component.
1 parent f3543a9 commit e5a5667

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

example/unicorn/templates/unicorn/todo.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@
1212
<p class="control">
1313
<span>
1414
<button unicorn:click="add" class="button is-info">Add</button>&nbsp;&nbsp;
15-
<button unicorn:click="reset" class="button is-danger" {% if not tasks %}disabled{% endif %} style="border-radius: 4px;">Clear all tasks</button>
15+
<button unicorn:click="$reset" class="button is-danger" {% if not tasks %}disabled{% endif %} style="border-radius: 4px;">Clear all tasks</button>
1616
</span>
1717

1818
<span u:loading style="position: relative; left: 6px;">

0 commit comments

Comments
 (0)