Skip to content
Snippets Groups Projects
Commit 3f0565bc authored by Kristin Wiseman's avatar Kristin Wiseman
Browse files

Replace concatenated string with template literal.

parent c170581f
No related branches found
No related tags found
1 merge request!469Fixes #344581: Current page not selected in pagination widget
File suppressed by a .gitattributes entry or the file's encoding is unsupported.
File suppressed by a .gitattributes entry or the file's encoding is unsupported.
......@@ -185,7 +185,7 @@
function onPageChange(event) {
const activePages = document.querySelectorAll(
'[aria-label="Page ' + ($page + 1) + '"]',
`[aria-label="Page ${$page + 1}"]`,
);
if (activePages) {
const activePage = activePages[0];
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment