Fixed jshint problems.

This commit is contained in:
Peter Fabian 2019-07-15 12:59:06 +02:00
parent 1e43a2f9e3
commit 2f19640ce1
1 changed files with 3 additions and 3 deletions

View File

@ -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;
@ -51,7 +51,7 @@ jQuery( function( $ ) {
};
$.ajax( this.requests[0] );
}
};
/**
* Handle the add to cart event.