view libervia/web/pages/_browser/loading.py @ 1610:19c83dd943df

browser (chat): don't set `None` value in message data used in template: `None` can behave unexpectedly with template, unsetting the value is safer.
author Goffi <goffi@goffi.org>
date Wed, 12 Jun 2024 23:09:12 +0200
parents eb00d593801d
children
line wrap: on
line source

"""manage common dialogs"""

from browser import document

def remove_loading_screen():
    print("removing loading screen")
    document['loading_screen'].remove()