From 9d99ffb42653c20efc5ab30eb282504bba076e0c Mon Sep 17 00:00:00 2001 From: San <52472550+sancodes@users.noreply.github.com> Date: Mon, 30 May 2022 20:44:41 -0700 Subject: [PATCH] fix parenthesis Co-authored-by: Bill Thornton --- src/scripts/libraryBrowser.js | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/src/scripts/libraryBrowser.js b/src/scripts/libraryBrowser.js index 64a3293246..426b53eb45 100644 --- a/src/scripts/libraryBrowser.js +++ b/src/scripts/libraryBrowser.js @@ -86,7 +86,9 @@ export function getQueryPagingHtml (options) { const recordsEnd = Math.min(startIndex + limit, totalRecordCount); const showControls = limit < totalRecordCount; - if ((html += '
', showControls)) { + html += '
'; + + if (showControls) { html += ''; html += globalize.translate('ListPaging', (totalRecordCount ? startIndex + 1 : 0), recordsEnd, totalRecordCount); html += '';