Skip to content

Commit

Permalink
Fixes #154
Browse files Browse the repository at this point in the history
  • Loading branch information
Charlie Lee committed Apr 26, 2016
1 parent b16f255 commit b1a6d97
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions app/js/main.js
Original file line number Diff line number Diff line change
Expand Up @@ -886,10 +886,12 @@ function confirmSet(callback, args, msg) {
confirmContainer.classList.add("hidden");
callback(args);
btnConfirmOK.removeEventListener("click", _ok);
btnConfirmCancel.removeEventListener("click", _cancel);
}

function _cancel() {
confirmContainer.classList.add("hidden");
btnConfirmOK.removeEventListener("click", _ok);
btnConfirmCancel.removeEventListener("click", _cancel);
}

Expand Down

0 comments on commit b1a6d97

Please sign in to comment.