mirror of
https://github.com/discourse/discourse-table-builder.git
synced 2026-09-16 23:02:13 -04:00
a6b221ddfa35816605f6832d0da50e36c6b04936
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
Discourse Table Builder
A theme component that allows for easiy building and editing of markdown tables in Discourse.
Languages
Ruby
61%
JavaScript
39%
