From 3d12ec4ae2cea4c2ca3d06e3159a25fea7d3469f Mon Sep 17 00:00:00 2001 From: Rodrigo Primo Date: Mon, 27 May 2019 14:38:54 -0300 Subject: [PATCH] Remove extra comma to prevent issues with older versions of IE This commit simply removes an extra comma that was added in 52fced8d7a33580d0b375979d6041a1265dd5770 to prevent issues with older versions of IE. I found this when running grunt to prepare the 3.6.4 release: ``` Running "jshint:all" (jshint) task assets/js/admin/meta-boxes-order.js 413 | user_email : user_email, ^ Extra comma. (it breaks older versions of IE) ``` We might want to add jshint to the pre-commit hook and to Travis. --- assets/js/admin/meta-boxes-order.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/assets/js/admin/meta-boxes-order.js b/assets/js/admin/meta-boxes-order.js index 4f0aa61b11b..c939b9722cb 100644 --- a/assets/js/admin/meta-boxes-order.js +++ b/assets/js/admin/meta-boxes-order.js @@ -410,7 +410,7 @@ jQuery( function ( $ ) { security : woocommerce_admin_meta_boxes.order_item_nonce, coupon : value, user_id : user_id, - user_email : user_email, + user_email : user_email } ); $.post( woocommerce_admin_meta_boxes.ajax_url, data, function( response ) {