This is an automated email from the ASF dual-hosted git repository.

ephraimanierobi pushed a commit to branch v2-4-test
in repository https://gitbox.apache.org/repos/asf/airflow.git

commit 463900ce89bc5b205aa4bdf04da2325ea042c8f9
Author: Daniel Standish <15932138+dstand...@users.noreply.github.com>
AuthorDate: Tue Sep 27 15:54:04 2022 -0700

    Fix non-hidden cumulative chart on duration view (#26716)
    
    When you first load the page, cumulative is unchecked, but the chart itself 
is unhidden and appears below the non-cumulative chart.  Adding this line 
ensures that the initial value of the checkbox is respected.
    
    (cherry picked from commit f105343759a30fbab6a0a95617e9df3493b1ed3e)
---
 airflow/www/static/js/duration_chart.js | 1 +
 1 file changed, 1 insertion(+)

diff --git a/airflow/www/static/js/duration_chart.js 
b/airflow/www/static/js/duration_chart.js
index f5f7376c53..7c3d7cacd0 100644
--- a/airflow/www/static/js/duration_chart.js
+++ b/airflow/www/static/js/duration_chart.js
@@ -29,5 +29,6 @@ function handleCheck() {
   }
 }
 $(document).on('chartload', handleCheck);
+$(document).ready(handleCheck);
 
 $('#isCumulative').on('click', handleCheck);

Reply via email to