clean-up + bugfixes

This commit is contained in:
psychobunny
2014-03-04 17:20:12 -05:00
parent 444956d517
commit c67182204f
2 changed files with 4 additions and 3 deletions

View File

@@ -176,7 +176,9 @@ var ajaxify = {};
next(err);
});
}, function(err) {
callback(err);
if (callback) {
callback(err);
}
});
});
};