Commit ba19b883 authored by imac's avatar imac

[Bugix]JIRA : NAP-59 -> Stop close menu when open login popup on desktop

parent 30690bbb
......@@ -2452,6 +2452,9 @@ div.wpcf7-mail-sent-ok{
z-index: 99999999;
display: none;
background: rgba(18,22,45,0.5);
bottom: 0;
left: 0;
right: 0;
}
.popup {
width: 365px;
......
......@@ -166,8 +166,11 @@ $.fn.loadPageContent = function(){
});
$(document).on('click','.acces li .login, .login-user',function(e){
e.stopImmediatePropagation();
var windowWidth = $(window).width();
$('.popup-container').fadeIn();
if (windowWidth < 860){
$( ".c-hamburger" ).trigger( "click" );
}
// $('#user_login').attr('placeholder', 'Identifiant');
// $('#user_pass').attr('placeholder', 'Mot de passe');
$('.popup-first').removeClass('fadeOutDown ').addClass('animated visible-elem pulse');
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment