You should:
Index.html file
- Hide (via CSS) the login-details div
- Show the the login-credentials div
- Change this piece of code:
$('#add-site form').on('submit', MM.checkSite); to
$('#add-site form').on('submit', MM.addSite);
You should:
Index.html file
- Hide (via CSS) the login-details div
- Show the the login-credentials div
- Change this piece of code:
$('#add-site form').on('submit', MM.checkSite); to
$('#add-site form').on('submit', MM.addSite);