Switched from sqlite to mysql database. Moved feeding frequency to the settings table. Got the alert checkboxes working correctly. Started to add update feed method and button to site.
This commit is contained in:
@@ -1,12 +1,3 @@
|
||||
function updateAlerts() {
|
||||
var text = document.querySelector('#alert_text');
|
||||
var email = document.querySelector('#alert_email');
|
||||
alert(text.checked);
|
||||
alert(email.checked);
|
||||
|
||||
fetch('/updateAlerts')
|
||||
}
|
||||
|
||||
function updateFeed() {
|
||||
return null;
|
||||
fetch('/updateFeed')
|
||||
}
|
||||
Reference in New Issue
Block a user