view templates/default/_browser/__init__.py @ 14:aa5118711cb4

static: added 0.8 web photo album screenshot
author Goffi <goffi@goffi.org>
date Fri, 23 Apr 2021 11:58:40 +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')