made the check actually work

pull/88/head
tidusjar 9 years ago
parent 3d2c787062
commit d56341e24b

@ -214,7 +214,7 @@ $(document).on("click", ".approve", function (e) {
var buttonId = e.target.id;
var $form = $('#approve' + buttonId);
if ($('#' + buttonId).text === "Loading...") {
if ($('#' + buttonId).text() === "Loading...") {
return;
}

Loading…
Cancel
Save