bug fix for this script not working when you use large catalog images
replace lines 30 and 31 with var isCatalogSm = !!document.querySelector('.catalog-small'); if (!isCatalogSm) { var isCatalogLg = !!document.querySelector('.catalog-large'); if (!isCatalogLg) {console.log('[1pbtID] ERROR getting catalog'); return;} }
bug fix for this script not working when you use large catalog images
replace lines 30 and 31 with
var isCatalogSm = !!document.querySelector('.catalog-small');
if (!isCatalogSm)
{
var isCatalogLg = !!document.querySelector('.catalog-large');
if (!isCatalogLg) {console.log('[1pbtID] ERROR getting catalog'); return;}
}