mirror of
https://github.com/moparisthebest/wallabag
synced 2024-12-02 13:52:18 -05:00
12 lines
354 B
JavaScript
Executable File
12 lines
354 B
JavaScript
Executable File
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";
|
|
}
|
|
|
|
});
|
|
}); |