a6b221ddfa
We were relying on the `event.target`, and sometimes that target was not the button element with the `table-id` data attribute, but the svg. This commit makes a few changes: - renames `tableId` to `tableIndex` - passes the index as part of the attributes to the `generateModal` function |
||
---|---|---|
.. | ||
table-builder.js | ||
table-editor.js |