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. + +});