Remove extra comma to prevent issues with older versions of IE

This commit simply removes an extra comma that was added in
52fced8d7a 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.
This commit is contained in:
Rodrigo Primo 2019-05-27 14:38:54 -03:00
parent 000c95ea88
commit 3d12ec4ae2
1 changed files with 1 additions and 1 deletions

View File

@ -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 ) {