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.
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 chagingif (next == null)
to a strict comparisonif (next === null)
. Previously this was working becauseundefined == null
in javascript. This commit fixes that regression.