From 8d7f8820cd3c02cd79cd76f8c3d015fdc69cbe24 Mon Sep 17 00:00:00 2001
From: gtbu <manbu@mail.de>
Date: Mon, 14 Apr 2025 12:06:25 +0200
Subject: [PATCH] init touch

init of jquery-touch.js in bootstrap4-theme - as variable
---
 themes/Bootstrap4/_common/menu.js | 5 ++++-
 1 file changed, 4 insertions(+), 1 deletion(-)

diff --git a/themes/Bootstrap4/_common/menu.js b/themes/Bootstrap4/_common/menu.js
index 82851dd..b63939e 100644
--- a/themes/Bootstrap4/_common/menu.js
+++ b/themes/Bootstrap4/_common/menu.js
@@ -77,7 +77,10 @@ $(function(){
 		case 'slideover':
 			// console.log('Slide Over Menu');
 
-			$navbar_collapse.touch(); // init jquery-touch
+			 // init jquery-touch
+			 
+			 var $navbar_collapse = $('#navbar_collapse');
+             $navbar_collapse.touch();
 
 			$navbar_collapse.on('show.bs.collapse', function(evt){
 				var set_collapse_top = function(){