Skip to content

Commit

Permalink
Fix scroll à la dernière facture dans Firefox
Browse files Browse the repository at this point in the history
  • Loading branch information
simark committed Dec 20, 2018
1 parent d345449 commit a421709
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion biciklo/static/js/factures.js
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,7 @@ function SubmitAjoutFacture() {

$('#input-nouvelle-facture').val("");

$('body').animate({ scrollTop: $("#facture-" + facture.numero).offset().top }, 1000);
$('body,html').animate({ scrollTop: $("#facture-" + facture.numero).offset().top }, 1000);
}).fail(DisplayError);
return false;
}
Expand Down

0 comments on commit a421709

Please sign in to comment.