Fixed jQuery call

This commit is contained in:
Florian Ludwig 2014-08-22 23:01:25 +02:00
parent f6294d24be
commit 83ed3aa534
1 changed files with 1 additions and 1 deletions

View File

@ -201,7 +201,7 @@ class WC_Widget_Product_Categories extends WC_Widget {
wc_enqueue_js("
jQuery('.dropdown_product_cat').change(function(){
if($(this).val() != '') {
if(jQuery(this).val() != '') {
location.href = '" . home_url() . "/?product_cat=' + jQuery(this).val();
}
});