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

6 lines
260 B
CoffeeScript
Raw Normal View History

2018-02-18 22:32:04 +00:00
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