Commit 1b8db3f5 authored by Olga Brani's avatar Olga Brani
Browse files

Local login prompt bug fix

parent d5784f81
......@@ -26,10 +26,9 @@
e.preventDefault();
$("div.form").slideToggle();
});
$('div.form .form-row').each(function() {
if ( $(this).hasClass('with-errors') ){
$('div.form').show();
}
});
if ( ( $('div.form .form-row.with-errors').length > 0) || ( $('ul.errorlist').length > 0 ) ) {
$("div.form").show();
}
})
</script>
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