Index: static/src/js/main.js |
=================================================================== |
--- a/static/src/js/main.js |
+++ b/static/src/js/main.js |
@@ -23,37 +23,16 @@ |
/************************************************************************** |
* General |
**************************************************************************/ |
// Change html class name from "no-js" to "js" |
document.documentElement.className = "js"; |
/************************************************************************** |
- * Navbar |
- **************************************************************************/ |
- |
- function toggleNavbarCollapse() |
- { |
- var navbarCollapseEls = this.parentElement.getElementsByClassName("navbar-collapse"); |
- for (var i = 0; i < navbarCollapseEls.length; i++) |
- { |
- navbarCollapseEls[i] |
- .classList.toggle("open") |
- } |
- } |
- |
- var toggleNavbarCollapseEls = document.getElementsByClassName("toggle-navbar-collapse"); |
- for (var i = 0; i < toggleNavbarCollapseEls.length; i++) |
- { |
- toggleNavbarCollapseEls[i] |
- .addEventListener("click", toggleNavbarCollapse, false); |
- } |
- |
- /************************************************************************** |
* CustomSelect |
**************************************************************************/ |
function CustomSelect(select) |
{ |
this.select = select; |
this.close(); |
this.select |