Skip to content

Commit

Permalink
Correct a bug in the last commit.
Browse files Browse the repository at this point in the history
  • Loading branch information
pygy committed Mar 3, 2012
1 parent 654dcfd commit 86aeba4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion sqlite.js
Original file line number Diff line number Diff line change
Expand Up @@ -137,7 +137,7 @@ function SQLTransactionSync(db, txCallback, errCallback, successCallback) {

if (!this.rolledBack && successCallback) {
successCallback(this);
} else if (errCallback) {
} else if (this.rolledBack && errCallback) {
errCallback(this);
}
}
Expand Down

0 comments on commit 86aeba4

Please sign in to comment.