Mercurial > libervia-web
view libervia/web/pages/_browser/tools.py @ 1583:9865013da86c
browser(template): add `bare_jid` and fix `date_fmt`
author | Goffi <goffi@goffi.org> |
---|---|
date | Tue, 28 Nov 2023 17:54:30 +0100 |
parents | 4ab4bc3ae462 |
children |
line wrap: on
line source
"""Common useful tools""" from browser import window def is_touch_device(): return hasattr(window, 'ontouchstart')