1
0
mirror of https://github.com/mbirth/tcl_update_db.git synced 2024-11-09 23:06:45 +00:00
tcl_update_db/assets/menu.coffee

6 lines
260 B
CoffeeScript

document.addEventListener 'DOMContentLoaded', (event) ->
window.drawer = new mdc.drawer.MDCTemporaryDrawer document.querySelector '.mdc-drawer'
document.querySelector('.mdc-toolbar__menu-icon').addEventListener 'click', ->
drawer.open = true