Fixed delete.
parent
49053e6121
commit
06293ad9c0
|
|
@ -89,7 +89,7 @@ function editTimer(idx, hrs, mins, secs){
|
|||
|
||||
function deleteAlarm(idx){
|
||||
var alarmIndex = getAlarmIndex(idx);
|
||||
if(!alarmExists(alarmIndex)){
|
||||
if(!alarmExists(idx)){
|
||||
return;
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue