mirror of
https://github.com/eitchtee/WYGIWYH.git
synced 2026-11-15 05:12:38 +01:00
A history restore swaps in htmx's snapshot of the body, which carries a lifeless copy of AirDatepicker's global container. The previous fix looked the container up by id, found that copy, and left the library's real container detached, so pickers opened into nothing. Track the container through datepicker.$container instead, remove any snapshot copies after a swap, and reattach the real one when detached.