Skip to content

Check whether removed DOM node was a player

Kai Uwe Broulik requested to merge work/kbroulik/check-removed-player-gone into master

The player might not have been in the DOM in the first place (e.g. an audio player), so just checking for whether it is in the DOM at the end looks like a nice optimization but often ends up just considering the player gone when any DOM element got removed.


@fvogt @abalaji

Fixes regression from !64 (merged)

Observable on e.g. https://www.thedeltaflyers.org/episodes/timeless where the player is considered gone shortly whenever playback starts

Edited by Kai Uwe Broulik

Merge request reports

Loading