This commit is contained in:
newtbot 2024-01-21 04:28:16 +08:00
parent 8adf304f1a
commit dfb9a524b4
2 changed files with 2 additions and 2 deletions

View File

@ -256,7 +256,7 @@ app.auth = (function (app) {
}; };
})(app); })(app);
//ajax form submit //ajax form submit and pass to api
function formAJAX(btn, del) { function formAJAX(btn, del) {
event.preventDefault(); // avoid to execute the actual submit of the form. event.preventDefault(); // avoid to execute the actual submit of the form.
var $form = $(btn).closest("[action]"); // gets the 'form' parent var $form = $(btn).closest("[action]"); // gets the 'form' parent

View File

@ -69,8 +69,8 @@ router.get('/profile', function(req, res, next) {
//forgot password page //forgot password page
router.get('/forgotPassword', function(req, res, next) { router.get('/forgotPassword', function(req, res, next) {
res.render('forgotPassword'); res.render('forgotPassword');
});
});
//contact page //contact page
router.get('/contact', function(req, res, next) { router.get('/contact', function(req, res, next) {