Skip to content

Commit

Permalink
Handle "Cancel" onclick for .sparql-content
Browse files Browse the repository at this point in the history
  • Loading branch information
namedgraph committed Nov 22, 2023
1 parent 3fc7cc6 commit 3fc3034
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -806,9 +806,9 @@ exclude-result-prefixes="#all"
</xsl:choose>
</xsl:template>

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

<xsl:template match="div[contains-token(@class, 'resource-content')]//button[contains-token(@class, 'btn-cancel')]" mode="ixsl:onclick">
<xsl:template match="div[contains-token(@class, ('resource-content', '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 3fc3034

Please sign in to comment.