Skip to content

Commit

Permalink
Allow cells with caps settings to be cleared (#37)
Browse files Browse the repository at this point in the history
  • Loading branch information
ivansg44 authored Jun 8, 2020
1 parent e6d3dfc commit 99ef59a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion main.js
Original file line number Diff line number Diff line change
Expand Up @@ -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);
}
Expand Down

0 comments on commit 99ef59a

Please sign in to comment.