view templates/default/_browser/__init__.py @ 16:db3649fadc87

i18n: extraction update
author Goffi <goffi@goffi.org>
date Wed, 16 Jun 2021 19:21:14 +0200
parents dc880664a8ec
children
line wrap: on
line source

from browser import bind, document


@bind("#main_menu_burger", "click")
def burger_click(ev):
    document["main_menu"].classList.toggle('is-active')
    document["main_menu_burger"].classList.toggle('is-active')