function deleteSeries () {
    const seriesItems = document.getElementsByClassName("series");
    for (const node of seriesItems) {
        node.remove();
    }
}
// Not tested yet: It appears even lone patches are part of a series.
Not tested yet: It appears even lone patches are part of a series.
Not tested yet : It appears even lone patches are part of a series .
function deleteSeries () {
    const seriesItems = document.getElementsByClassName("series");
    for (const node of seriesItems) {
        node.remove();
    }
}
function deleteSeries ( ) { const seriesItems = document . getElementsByClassName ( "series" ) ; for ( const node of seriesItems ) { node . remove ( ) ; } }
Not tested yet: It appears even lone patches are part of a series.
Not tested yet : It appears even lone patches are part of a series .