From c92d2b92c527aa2b32d0ab089a167da4ab580406 Mon Sep 17 00:00:00 2001 From: h4ckypurpl3 Date: Sat, 8 Dec 2018 18:19:20 -0500 Subject: [PATCH] =?UTF-8?q?actualizaci=C3=B3n?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- librerias/landingjs/scripts_landing.js | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/librerias/landingjs/scripts_landing.js b/librerias/landingjs/scripts_landing.js index 055fa74..7939438 100644 --- a/librerias/landingjs/scripts_landing.js +++ b/librerias/landingjs/scripts_landing.js @@ -9,3 +9,11 @@ $(window).scroll(function() { $(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(); + }); + });