if(window.location.hash) { var hash = window.location.hash.substring(1); //Puts hash in variable, and removes the # character jQuery('[data-category-slug="'+hash+'"]').trigger( "click" ); }
admin Asked question December 11, 2020
if(window.location.hash) { var hash = window.location.hash.substring(1); //Puts hash in variable, and removes the # character jQuery('[data-category-slug="'+hash+'"]').trigger( "click" ); }