Fixed jQuery call

This commit is contained in:
Florian Ludwig 2014-08-22 23:01:25 +02:00 committed by Ninos Ego
parent f960cb6b01
commit bf8b999a80
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();
}
});