davidedmundson added a comment.
Right, I should move the removeChild to before the break. As for the other comment if there's no players, there's limited point executing the script. REPOSITORY R856 Plasma Browser Integration REVISION DETAIL https://phabricator.kde.org/D13619 To: davidedmundson, fvogt Cc: fvogt, broulik, plasma-devel, ragreen, Pitel, ZrenBot, lesliezhai, ali-mohamed, jensreuterberg, abetts, sebas, apol, mart