Why this script can't work?
-
I have add this to
/lib/main.js
.But it didn't work.What need i do to solve it?- screenShot
Howerver thisapp.alertError('You enter wrong.Please try again.');
can't be runed.
/*global utils, app*/ $(function() { $(window).on('action:ajaxify.end', function(data) { if (data.url === 'register' && utils.param('error') === 'wrong-code') { console.log("wrong-code"); app.alertError('You enter wrong.Please try again.'); } }); });
- screenShot
Copyright © 2024 NodeBB | Contributors