diff options
Diffstat (limited to 'static/javascript/dropdown.js')
-rw-r--r-- | static/javascript/dropdown.js | 10 |
1 files changed, 0 insertions, 10 deletions
diff --git a/static/javascript/dropdown.js b/static/javascript/dropdown.js deleted file mode 100644 index c1b317a..0000000 --- a/static/javascript/dropdown.js +++ /dev/null @@ -1,10 +0,0 @@ -var span = document.querySelector('span#about_chevron'); -var menu = document.querySelector('ul.sub-menu'); - span.addEventListener('click', function (event) { - if (menu.classList.contains('dn')) { - menu.classList.remove('dn'); - } else { - menu.classList.add('dn'); - } - } -); |