mirror of
https://github.com/wallabag/wallabag.git
synced 2025-08-01 17:38:38 +00:00
new theme, baggy one cf #448
This commit is contained in:
parent
83b47311ba
commit
943ac3c77e
43 changed files with 1873 additions and 0 deletions
12
themes/baggy/js/init.js
Executable file
12
themes/baggy/js/init.js
Executable file
|
@ -0,0 +1,12 @@
|
|||
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";
|
||||
}
|
||||
|
||||
});
|
||||
});
|
Loading…
Add table
Add a link
Reference in a new issue