Hello,
I noticed that the login popup takes extremely long until it disappears. Same for cart popup. At cart popup, I could solve this via css but for login popup, I had to edit etheme.js.
In line 1941 I found:
var loginTimeout = 0;
$( ".login-link" ).hover(
function() {
clearTimeout(loginTimeout);
$( '.login-popup' ).addClass( 'hover_login' );
},
function() {
loginTimeout = setTimeout(function () {
$( '.login-popup' ).removeClass( 'hover_login' );
}, 1500);
}
);
Whats the sense of this long timeout? Why isnt this done via css? I deleted the timeout completely and I wanted to ask if you could also remove this for the next update because it makes no sense and can be done via css….?