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

1 line
253 B
JavaScript
Raw Normal View History

2017-06-19 11:49:34 +00:00
jQuery(function(i){({init:function(){i("select#discount_type").on("change",this.type_options).change()},type_options:function(){"fixed_cart"!==i(this).val()?i(".limit_usage_to_x_items_field").show():i(".limit_usage_to_x_items_field").hide()}}).init()});