1
0
mirror of https://github.com/moparisthebest/wallabag synced 2025-02-26 08:21:47 -05:00

12 lines
354 B
JavaScript
Raw Normal View History

2014-02-12 21:58:40 +01:00
document.addEventListener('DOMContentLoaded', function() {
var menu = document.getElementById('menu');
menu.addEventListener('click', function(){
if(this.nextElementSibling.style.display === "block") {
this.nextElementSibling.style.display = "none";
}else {
this.nextElementSibling.style.display = "block";
}
});
});