Skip to content

Commit

Permalink
Merge pull request #24151 from woocommerce/fix/jshint-error-fix
Browse files Browse the repository at this point in the history
Fixed jshint problems
  • Loading branch information
kloon committed Jul 15, 2019
2 parents 1e43a2f + 2f19640 commit 620bde0
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions assets/js/frontend/add-to-cart.js
Expand Up @@ -29,12 +29,12 @@ jQuery( function( $ ) {
if ( 1 === this.requests.length ) {
this.run();
}
}
};

/**
* Run add to cart events.
*/
AddToCartHandler.prototype.run = function( e ) {
AddToCartHandler.prototype.run = function() {
var requestManager = this,
originalCallback = requestManager.requests[0].complete;

Expand All @@ -51,7 +51,7 @@ jQuery( function( $ ) {
};

$.ajax( this.requests[0] );
}
};

/**
* Handle the add to cart event.
Expand Down

0 comments on commit 620bde0

Please sign in to comment.