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 += '';