window.onload = function () { | |
if (document.getElementById("api") !== null) { | |
document.getElementsByClassName('md-sidebar--secondary')[0].style.position="absolute"; | |
document.getElementsByClassName('md-sidebar--secondary')[0].style.left="-10000px"; | |
} | |
} |