From e0447089b29185a038b3c9b9786b1518e4500d63 Mon Sep 17 00:00:00 2001
From: Alex Pott <alex.a.pott@googlemail.com>
Date: Tue, 25 Feb 2014 14:05:43 +0000
Subject: [PATCH] Issue #2091971 by nod_, mdrummond, katzilla: Remove ID in
 progress-bar.html.twig .

---
 core/misc/batch.js                                   | 2 +-
 core/modules/system/templates/progress-bar.html.twig | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/core/misc/batch.js b/core/misc/batch.js
index 62ff1ea7518f..ee6cf68705df 100644
--- a/core/misc/batch.js
+++ b/core/misc/batch.js
@@ -11,7 +11,7 @@
   Drupal.behaviors.batch = {
     attach: function (context, settings) {
       var batch = settings.batch;
-      var $progress = $('#progress').once('batch');
+      var $progress = $('[data-drupal-progress]').once('batch');
       var progressBar;
 
       // Success: redirect to the summary.
diff --git a/core/modules/system/templates/progress-bar.html.twig b/core/modules/system/templates/progress-bar.html.twig
index 0d11991d3472..885a80fa2cf9 100644
--- a/core/modules/system/templates/progress-bar.html.twig
+++ b/core/modules/system/templates/progress-bar.html.twig
@@ -13,7 +13,7 @@
  * @ingroup themeable
  */
 #}
-<div id="progress" class="progress">
+<div class="progress" data-drupal-progress>
   {% if label %}
     <div class="progress__label">{{ label }}</div>
   {% endif %}
-- 
GitLab