Skip to content

Commit d6e40d8

Browse files
committed
Fixed typo
1 parent 2281ca7 commit d6e40d8

File tree

3 files changed

+3
-3
lines changed

3 files changed

+3
-3
lines changed

es/components/form/index.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -217,7 +217,7 @@ export class XHRForm {
217217
*/
218218
onSuccess(callback){
219219
if( typeof callback !== "function" ) throw `${callback} is not a function`;
220-
if( typeof this._onSuccess === "undefined" ) this._onError = [];
220+
if( typeof this._onSuccess === "undefined" ) this._onSuccess = [];
221221
this._onSuccess.push(callback);
222222
return this;
223223
}

package-lock.json

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@htmlguyllc/jpack",
3-
"version": "2.0.2",
3+
"version": "2.0.3",
44
"description": "Core Javascript Library of Everyday Objects, Events, and Utilities",
55
"keywords": [
66
"javascript",

0 commit comments

Comments
 (0)