Skip to content
Snippets Groups Projects
Commit e0447089 authored by Alex Pott's avatar Alex Pott
Browse files

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

parent bac3a5de
No related branches found
No related tags found
2 merge requests!7452Issue #1797438. HTML5 validation is preventing form submit and not fully...,!789Issue #3210310: Adjust Database API to remove deprecated Drupal 9 code in Drupal 10
......@@ -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.
......
......@@ -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 %}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment