mirror of
https://gitlab.crans.org/bde/nk20
synced 2024-11-26 18:37:12 +00:00
Fix double consumptions
This commit is contained in:
parent
f7f6f053f7
commit
4b85a35a9d
@ -27,7 +27,7 @@ $(document).ready(function() {
|
|||||||
});
|
});
|
||||||
|
|
||||||
// Switching in double consumptions mode should update the layout
|
// Switching in double consumptions mode should update the layout
|
||||||
$("#double_conso").click(function() {
|
$("#double_conso").change(function() {
|
||||||
$("#consos_list_div").removeClass('d-none');
|
$("#consos_list_div").removeClass('d-none');
|
||||||
$("#user_select_div").attr('class', 'col-xl-4');
|
$("#user_select_div").attr('class', 'col-xl-4');
|
||||||
$("#infos_div").attr('class', 'col-sm-5 col-xl-6');
|
$("#infos_div").attr('class', 'col-sm-5 col-xl-6');
|
||||||
@ -47,7 +47,7 @@ $(document).ready(function() {
|
|||||||
}
|
}
|
||||||
});
|
});
|
||||||
|
|
||||||
$("#single_conso").click(function() {
|
$("#single_conso").change(function() {
|
||||||
$("#consos_list_div").addClass('d-none');
|
$("#consos_list_div").addClass('d-none');
|
||||||
$("#user_select_div").attr('class', 'col-xl-7');
|
$("#user_select_div").attr('class', 'col-xl-7');
|
||||||
$("#infos_div").attr('class', 'col-sm-5 col-md-4');
|
$("#infos_div").attr('class', 'col-sm-5 col-md-4');
|
||||||
|
Loading…
Reference in New Issue
Block a user