forked from LiveCarta/LiveCartaWP
scripts fix
This commit is contained in:
@@ -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
|
||||
|
||||
|
||||
Reference in New Issue
Block a user