diff --git a/core/includes/batch.inc b/core/includes/batch.inc index 8f91f73..a4b5378 100644 --- a/core/includes/batch.inc +++ b/core/includes/batch.inc @@ -164,7 +164,6 @@ function _batch_progress_page() { '#percent' => $percentage, '#message' => array('#markup' => $message), '#label' => $label, - '#animate' => TRUE, '#attached' => array( 'html_head' => array( array( diff --git a/core/misc/progress.js b/core/misc/progress.js index 9e63e11..24c597c 100644 --- a/core/misc/progress.js +++ b/core/misc/progress.js @@ -56,7 +56,7 @@ // Implement optional animation of progress bar. if (drupalSettings.progressBarAnimate) { - $(this.element).find('div.progress__bar').addClass('progress__bar--animate'); + $(this.element).find('progress__bar').addClass('progress__bar--animate'); } }; diff --git a/core/themes/classy/css/components/progress.css b/core/themes/classy/css/components/progress.css index 7190da1..0a51cf4 100644 --- a/core/themes/classy/css/components/progress.css +++ b/core/themes/classy/css/components/progress.css @@ -56,13 +56,13 @@ .progress__bar--animate { -webkit-animation: animate-stripes 3s linear infinite; -moz-animation: animate-stripes 3s linear infinite; + animation: animate-stripes 3s linear infinite; -webkit-transition: width 0.5s ease-out; transition: width 0.5s ease-out; } [dir="rtl"] .progress__bar--animate { - animation-direction: reverse; -webkit-animation-direction: reverse; - -moz-animation-direction: reverse; + animation-direction: reverse; } @-webkit-keyframes animate-stripes { 0% {background-position: 0 0, 0 0;} 100% {background-position: 0 0, -80px 0;}