Commit e0447089 authored by alexpott's avatar alexpott

Issue #2091971 by nod_, mdrummond, katzilla: Remove ID in progress-bar.html.twig .

parent bac3a5de
...@@ -11,7 +11,7 @@ ...@@ -11,7 +11,7 @@
Drupal.behaviors.batch = { Drupal.behaviors.batch = {
attach: function (context, settings) { attach: function (context, settings) {
var batch = settings.batch; var batch = settings.batch;
var $progress = $('#progress').once('batch'); var $progress = $('[data-drupal-progress]').once('batch');
var progressBar; var progressBar;
// Success: redirect to the summary. // Success: redirect to the summary.
......
...@@ -13,7 +13,7 @@ ...@@ -13,7 +13,7 @@
* @ingroup themeable * @ingroup themeable
*/ */
#} #}
<div id="progress" class="progress"> <div class="progress" data-drupal-progress>
{% if label %} {% if label %}
<div class="progress__label">{{ label }}</div> <div class="progress__label">{{ label }}</div>
{% endif %} {% endif %}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment