We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 7761de7 commit 0600a1dCopy full SHA for 0600a1d
apps/worldclkinfo/custom.html
@@ -106,7 +106,7 @@
106
107
document.getElementById("delrow").addEventListener("click", function() {
108
let tbl = document.getElementById("rows");
109
- tbl.deleteRow(tbl.rows.length -1);
+ if (tbl.rows.length > 1) tbl.deleteRow(tbl.rows.length -1);
110
});
111
112
document.getElementById("upload").addEventListener("click", function() {
0 commit comments