js header when connected
This commit is contained in:
@@ -27,6 +27,9 @@ jQuery(document).ready(function($){
|
||||
if ($(".connexion-full").is(":visible")) {
|
||||
$(".connexion-full").slideUp();
|
||||
}
|
||||
// if ($(".connected-full").is(":visible")) {
|
||||
// $(".connected-full").slideUp();
|
||||
// }
|
||||
// Ouvrir .field--type-text-long
|
||||
$(".field--type-text-long").slideToggle();
|
||||
|
||||
@@ -45,6 +48,17 @@ jQuery(document).ready(function($){
|
||||
});
|
||||
});
|
||||
|
||||
$(document).ready(function() {
|
||||
$(".bouton-connected").click(function(event) {
|
||||
// Fermer .field--type-text-long s'il est déroulé
|
||||
if ($(".field--type-text-long").is(":visible")) {
|
||||
$(".field--type-text-long").slideUp();
|
||||
}
|
||||
// Ouvrir .connexion-full
|
||||
$(".connected-full").slideToggle();
|
||||
});
|
||||
});
|
||||
|
||||
});
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user