diff --git a/main.js b/main.js index 77db1adb..5d0632c4 100644 --- a/main.js +++ b/main.js @@ -131,7 +131,7 @@ const createHot = (data) => { beforeChange: function(changes, source) { if (!changes) return; for (const change of changes) { - const row = change[0]; + if (!change[3]) continue; const col = change[1]; change[3] = changeCase(change[3], fields[col].capitalize); }