From 98828d069b8d80415670bec6ead6f8820c80fabe Mon Sep 17 00:00:00 2001 From: ulrich <not disclosed> Date: Sun, 07 Jan 2018 14:25:13 +0000 Subject: [PATCH] Steuerung des Hamburger-Icon aus dem app-menu entfernt --- app-menu.js | 12 ++++++------ 1 files changed, 6 insertions(+), 6 deletions(-) diff --git a/app-menu.js b/app-menu.js index 2014bd2..1a0723f 100644 --- a/app-menu.js +++ b/app-menu.js @@ -5,9 +5,9 @@ function app_menu_init(url_prefix, mdesc, mtpl, mselector, mbreite) { _app_menu_selector = mselector; _app_menu_mbreite = mbreite; - document.querySelector( "#nav-toggle" ).addEventListener("click", function() { + /*document.querySelector( "#nav-toggle" ).addEventListener("click", function() { app_menu_toggle(); - }); + });*/ $(_app_menu_selector).css("flex-basis", "0em"); _app_menu_url_prefix = url_prefix; $.get(mtpl, function(template) { @@ -25,14 +25,14 @@ } function app_menu_do_toggle(elem) { - document.querySelector( "#nav-toggle" ).classList.toggle( "active" ); - document.querySelector( "#nav-toggle" ).blur(); + /*document.querySelector( "#nav-toggle" ).classList.toggle( "active" ); + document.querySelector( "#nav-toggle" ).blur();*/ app_menu_toggle(); } function app_menu_toggle() { - document.querySelector( "#nav-toggle" ).classList.toggle( "active" ); - document.querySelector( "#nav-toggle" ).blur(); + /*document.querySelector( "#nav-toggle" ).classList.toggle( "active" ); + document.querySelector( "#nav-toggle" ).blur();*/ var westDiv = $(_app_menu_selector); if($(westDiv).hasClass('app-menu-open')) { $(westDiv).removeClass('app-menu-open'); -- Gitblit v1.9.3