woocommerce/assets/js/admin/meta-boxes-coupon.min.js

1 line
223 B
JavaScript
Raw Normal View History

2014-09-04 14:14:27 +00:00
jQuery(function(a){a("select#discount_type").change(function(){var b=a(this).val();"fixed_product"===b||"percent_product"===b?a(".limit_usage_to_x_items_field").show():a(".limit_usage_to_x_items_field").hide()}).change()});