view templates/default/_browser/__init__.py @ 30:5370c524bffd

press: add OW2 and PSES 23 confs
author Goffi <goffi@goffi.org>
date Wed, 28 Jun 2023 11:37:26 +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')