fix deprecated method call in new project

This commit is contained in:
Jonas Weinz 2022-10-16 17:12:02 +02:00
parent 60e9678b8b
commit c236959c01

View File

@ -201,7 +201,7 @@ div.font_size = 4
btn = bHTML.ButtonPrimary("Click me", parent=app.sidebar)
btn.w = 100
btn.onclick = lambda _: bHTML.AlertSuccess(
"You clicked me!", parent=app.main_area)
"You clicked me!", parent=app.main)
"""
root_folder=pathlib.Path(root_folder)