mirror of
https://github.com/Casvt/MIND.git
synced 2026-02-19 11:54:46 -05:00
Added notification service redirect on add button
If no notification services are setup, clicking the add button on the home page will now redirect you to the notification services page instead of doing nothing.
This commit is contained in:
@@ -39,6 +39,8 @@ function addReminder() {
|
||||
function showAdd() {
|
||||
if (!document.getElementById('add-entry').classList.contains('error')) {
|
||||
showWindow('add');
|
||||
} else {
|
||||
showWindow('notification');
|
||||
};
|
||||
};
|
||||
|
||||
|
||||
Reference in New Issue
Block a user