From 45da1a07d29c731f1f54fe68282457dd88660925 Mon Sep 17 00:00:00 2001 From: h4ckypurpl3 Date: Tue, 26 Mar 2019 13:02:46 -0500 Subject: [PATCH] ultimos cambios --- index.php | 1 + librerias/landingjs/scripts_landing.js | 12 +++++------- 2 files changed, 6 insertions(+), 7 deletions(-) diff --git a/index.php b/index.php index d2baf4c..208badd 100644 --- a/index.php +++ b/index.php @@ -1599,6 +1599,7 @@ echo $css_adicional;
+
diff --git a/librerias/landingjs/scripts_landing.js b/librerias/landingjs/scripts_landing.js index 7939438..98e2786 100644 --- a/librerias/landingjs/scripts_landing.js +++ b/librerias/landingjs/scripts_landing.js @@ -10,10 +10,8 @@ $(window).scroll(function(){ $(".top").css("opacity", 1 - $(window).scrollTop() / 100); }); - $(document).ready(function(){ - $('#user_dropdow').on("click", function(e){ - $(this).next('ul').toggle(); - e.stopPropagation(); - e.preventDefault(); - }); - }); +$('.dropdown-menu').click(function(e) { + +e.stopPropagation(); //This will prevent the event from bubbling up and close the dropdown when you type/click on text boxes. + +});