I trying to use Material Design Lite and made a small interface. And now I face with a problem - I need to make the Drawer always open, when window loads and when window goes from large screen to small. By default, the Drawer always starts with close state...
I found that some changes comes, when I hit Drawer button (pink color on screenshot).
I tried to use QuerySelector like that:
var obfuscator = document.querySelector('.mdl-layout__obfuscator');
obfuscator.className = 'mdl-layout__obfuscator is-visible'
but it cant detect that element... Can someone gimme better way to do such simple task?)) I really stacked with it...