Skip to content
Snippets Groups Projects

Affichage de la cible en DU lorsque l'unité est définie sur 'relative'

Closed Boris requested to merge (removed):master into master
1 file
+ 2
1
Compare changes
  • Side-by-side
  • Inline
+ 2
1
@@ -144,6 +144,7 @@
$json = json_decode($json);
$ud = $json->dividend/100;
$total = round($total/$ud);
$target = round($target/$ud);
}
$percentage = round($total/$target*100);
@@ -254,7 +255,7 @@
<script>
$(document).ready(function(){
$(".progress-bar").animate({
width: "<?php echo $percentage+"%"; ?>%"
width: "<?php echo $percentage; ?>%"
}, 1300, "");
});
</script>
Loading