Skip to content

Commit 2f49049

Browse files
committed
fixes progress bar demo auto button
1 parent d7022e7 commit 2f49049

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

ngwidgets/widgets_demo.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -117,7 +117,7 @@ def toggle_auto():
117117
with ui.row():
118118
ui.button("--").on_click(lambda: update_progress(-1))
119119
ui.button("++").on_click(lambda: update_progress(1))
120-
ui.button("Auto", on_=toggle_auto)
120+
ui.button("Auto", on_click=toggle_auto)
121121

122122
await self.setup_content_div(show)
123123

0 commit comments

Comments
 (0)