mirror of
https://github.com/GSA/notifications-admin.git
synced 2026-03-11 05:42:00 -04:00
The `getSharedAttributes` method gathers all attributes, and [DOM tokens](https://developer.mozilla.org/en-US/docs/Web/API/Element/classList) in the `class` attribute not controlled by the module for re-applying in the `render` method. Because it gathered them for all items, many duplicates ended up being added to new items. Browser engines were tidying up the duplicates but we shouldn't be adding them in the first place.