This commit is contained in:
Hacky Purple 2018-10-22 11:46:20 -05:00
commit f28ad307d9
2 changed files with 10 additions and 8 deletions

View File

@ -1115,14 +1115,12 @@ $panel_aplicaciones = panel_aplicaciones('1',"","");
if(isset($_SESSION['id'])){ $boton_ingresar=" if(isset($_SESSION['id'])){ $boton_ingresar="
<li class='dropdown'> <li id='user_dropdow' class='dropdown'>
<a href='milfs/' class='dropdown-toggle' data-toggle='dropdown'>$_SESSION[username]<b class='caret'></b></a> <a href='milfs/' class='dropdown-toggle' data-toggle='dropdown' role='button' aria-haspopup='true' aria-expanded='false'>$_SESSION[username]<b class='caret'></b></a>
<ul class='dropdown-menu'> <ul id='menu_administrador' class='dropdown-menu'>
<li>
$panel_aplicaciones $panel_aplicaciones
</li>
<li class='divider'></li> <li class='divider'></li>
<li><a onclick=\"xajax_milfs_session('','','','salir') \">SALIR <i class='fa fa-sign-out'></i></a></li> <li class='btn btn_hover'><a onclick=\"xajax_milfs_session('','','','salir') \"><i class='fa fa-sign-out'></i> SALIR</a></li>
</ul> </ul>
</li> </li>

View File

@ -9,3 +9,7 @@ $(window).scroll(function() {
$(window).scroll(function(){ $(window).scroll(function(){
$(".top").css("opacity", 1 - $(window).scrollTop() / 100); $(".top").css("opacity", 1 - $(window).scrollTop() / 100);
}); });
$('.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.
});