Mercurial > libervia-web
view libervia/web/pages/_browser/tools.py @ 1613:c4407befc52a default tip @
browser (chat): fix attachments URL for messages.
author | Goffi <goffi@goffi.org> |
---|---|
date | Mon, 17 Jun 2024 17:37:15 +0200 |
parents | 4ab4bc3ae462 |
children |
line wrap: on
line source
"""Common useful tools""" from browser import window def is_touch_device(): return hasattr(window, 'ontouchstart')