Skip to content

Commit

Permalink
Fixed match pattern
Browse files Browse the repository at this point in the history
  • Loading branch information
namedgraph committed Nov 22, 2023
1 parent 3fc3034 commit 5ca5d7e
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -808,7 +808,7 @@ exclude-result-prefixes="#all"

<!-- resource content/SPARQL content cancel onclick -->

<xsl:template match="div[contains-token(@class, ('resource-content', 'sparql-content'))]//button[contains-token(@class, 'btn-cancel')]" mode="ixsl:onclick">
<xsl:template match="div[contains-token(@class, 'resource-content') or contains-token(@class, 'sparql-content')]//button[contains-token(@class, 'btn-cancel')]" mode="ixsl:onclick">
<xsl:variable name="container" select="ancestor::div[contains-token(@class, 'resource-content')]" as="element()"/>

<xsl:choose>
Expand Down

0 comments on commit 5ca5d7e

Please sign in to comment.