Merge pull request #8229 from Jerryby/wordpress

scripts fix
This commit is contained in:
bivis
2023-05-16 11:52:04 +03:00
committed by GitHub

View File

@@ -53,6 +53,7 @@ window.addEventListener('DOMContentLoaded', function(){
// catalog
if (document.getElementById('catalogSearchBtn')) {
const catalogSearchBtn = document.getElementById('catalogSearchBtn');
const catalogSearchInput = document.getElementById('catalogSearchInput');
const catalogSearchClear = document.getElementById('catalogSearchClear');
@@ -72,6 +73,7 @@ window.addEventListener('DOMContentLoaded', function(){
top.location = 'https://app.livecarta.com/catalog?tab=books-tab&search=' + searchText;
}
})
}
// sliders