We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 22fb148 commit 33a8e76Copy full SHA for 33a8e76
apps/waypoints/waypoints.app.js
@@ -550,13 +550,12 @@ function showCard() {
550
function remove(c) {
551
let card = wp[c];
552
let name = card["name"];
553
- print("Remove?", card, name);
554
555
E.showPrompt(name,{
556
title:"Delete",
557
}).then(function(v) {
558
if (v) {
559
- wp.splice(card, 1);
+ wp.splice(c, 1);
560
writeWP();
561
mainMenu();
562
} else {
0 commit comments