mirror of
https://github.com/HeyPuter/puter
synced 2024-11-15 06:15:47 +00:00
5b43358219
If the Component gets removed from the DOM and then re-added, it already has contents, and we don't need to create them again. It also has already had on_ready called, so that doesn't need to happen again either. This fix stops Components duplicating their content elements and listener callbacks whenever they're moved around the document. |
||
---|---|---|
.. | ||
Component.js | ||
Placeholder.js | ||
TeePromise.js | ||
ValueHolder.js |