# HG changeset patch # User Michiel Broek # Date 1559242028 -7200 # Node ID 547c23b50d009297d14f3235e7ff2eaaa4eee4e6 # Parent 0ec81755396e83eff15998073ed658315234f815 Adjusted the hop progress bars. diff -r 0ec81755396e -r 547c23b50d00 www/js/prod_edit.js --- a/www/js/prod_edit.js Thu May 30 17:39:53 2019 +0200 +++ b/www/js/prod_edit.js Thu May 30 20:47:08 2019 +0200 @@ -489,8 +489,8 @@ } total_ibus = Math.round(total_ibus * 10) / 10; ferm_ibus = Math.round(ferm_ibus * 10) / 10; - hop_flavour = Math.round(hop_flavour * 1000 / 7.5) / 10; - hop_aroma = Math.round(hop_aroma * 1000 / 9) / 10; + hop_flavour = Math.round(hop_flavour * 1000 / 5) / 10; + hop_aroma = Math.round(hop_aroma * 1000 / 6) / 10; if (hop_flavour > 100) hop_flavour = 100; if (hop_aroma > 100) diff -r 0ec81755396e -r 547c23b50d00 www/js/rec_edit.js --- a/www/js/rec_edit.js Thu May 30 17:39:53 2019 +0200 +++ b/www/js/rec_edit.js Thu May 30 20:47:08 2019 +0200 @@ -362,8 +362,8 @@ row.h_useat, parseFloat(row.h_amount)); } total_ibus = Math.round(total_ibus * 10) / 10; - hop_flavour = Math.round(hop_flavour * 1000 / 7.5) / 10; - hop_aroma = Math.round(hop_aroma * 1000 / 9) / 10; + hop_flavour = Math.round(hop_flavour * 1000 / 5) / 10; + hop_aroma = Math.round(hop_aroma * 1000 / 6) / 10; if (hop_flavour > 100) hop_flavour = 100; if (hop_aroma > 100)