theodi / comma-chameleon

A desktop CSV editor for data publishers
https://comma-chameleon.io/
MIT License
278 stars 27 forks source link

Fix tab keyboard shortcut behaviour #161

Closed chris48s closed 7 years ago

chris48s commented 7 years ago

Steps to reproduce bug:

In PR #129, @pezholio added the ability to add a new column by pressing tab in the last cell of a sheet. I then accidentally broke this in https://github.com/theodi/comma-chameleon/pull/141/commits/9f96f8243a1b8d20ad2cde5619c51fd19de3c737 by chaging if (next == null) to a strict comparison if (next === null). Previously this was working because undefined == null in javascript. This commit fixes that regression.