I've added logic to remove any existing stacked tables ($table.siblings().filter('.stacktable.small-only').remove();) before initializing new ones. This prevent the accumulation of stacked tables and resolve the issue of duplicate table instances on mobile screens.
Summary
I've added logic to remove any existing stacked tables ($table.siblings().filter('.stacktable.small-only').remove();) before initializing new ones. This prevent the accumulation of stacked tables and resolve the issue of duplicate table instances on mobile screens.
Motivation
Testing
Questions