Skip to content
Snippets Groups Projects
Commit 42d81384 authored by Chris Hallberg's avatar Chris Hallberg
Browse files

eslint

parent b620b08d
No related merge requests found
...@@ -142,7 +142,7 @@ VuFind.register('lightbox_facets', function LightboxFacets() { ...@@ -142,7 +142,7 @@ VuFind.register('lightbox_facets', function LightboxFacets() {
button.before(list); button.before(list);
if (list.length && htmlDiv.find('.js-facet-next-page').length) { if (list.length && htmlDiv.find('.js-facet-next-page').length) {
button.attr('data-page', page + 1); button.attr('data-page', page + 1);
button.attr('href', button.attr('href').replace(/facetpage=\d+/, 'facetpage='+(page+1))); button.attr('href', button.attr('href').replace(/facetpage=\d+/, 'facetpage=' + (page + 1)));
button.text(VuFind.translate('more') + ' ...'); button.text(VuFind.translate('more') + ' ...');
button.removeAttr('disabled'); button.removeAttr('disabled');
} else { } else {
......
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment