Fix inline search

For some unknown reason, USO now requires a new param.
This commit is contained in:
narcolepticinsomniac 2018-11-27 22:52:50 -05:00 committed by GitHub
parent e97a3ef269
commit 4c2b6d40a1
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -689,6 +689,7 @@ window.addEventListener('showStyles:done', function _() {
'/api/v1/styles/subcategory' +
'?search=' + encodeURIComponent(category) +
'&page=' + searchCurrentPage +
'&per_page=10' +
'&country=NA';
const cacheKey = category + '/' + searchCurrentPage;