Skip to content

Commit 8d563c9

Browse files
Merge branch '6.2' into 6.3
* 6.2: [Console] Correctly overwrite progressbars with different line count per step [DependencyInjection] Fix deduplicating service instances in circular graphs [Form] Make `ButtonType` handle `form_attr` option [PhpUnitBridge] Use verbose deprecation output for quiet types only when it reaches the threshold [WebProfilerBundle] fix Mailer detail on click [Translation] Fix undefined variable messages in ConstraintVisitor [CssSelector] Fix escape patterns [PropertyAccess] Fix nullsafe chain like x?.y
2 parents 157745e + d5f47f9 commit 8d563c9

File tree

1 file changed

+4
-6
lines changed

1 file changed

+4
-6
lines changed

Resources/views/Profiler/base_js.html.twig

Lines changed: 4 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -839,13 +839,11 @@ if (typeof Sfjs === 'undefined' || typeof Sfjs.loadToolbar === 'undefined') {
839839
840840
emailRows.forEach((emailRow) => {
841841
emailRow.addEventListener('click', () => {
842-
emailRow.addEventListener('click', () => {
843-
emailRows.forEach((row) => row.classList.remove('active'));
844-
emailRow.classList.add('active');
842+
emailRows.forEach((row) => row.classList.remove('active'));
843+
emailRow.classList.add('active');
845844
846-
document.querySelectorAll('.mailer-email-details').forEach((emailDetails) => emailDetails.style.display = 'none');
847-
document.querySelector(emailRow.getAttribute('data-target')).style.display = 'block';
848-
});
845+
document.querySelectorAll('.mailer-email-details').forEach((emailDetails) => emailDetails.style.display = 'none');
846+
document.querySelector(emailRow.getAttribute('data-target')).style.display = 'block';
849847
});
850848
});
851849
},

0 commit comments

Comments
 (0)