Skip to content

Commit

Permalink
Fixed $container value
Browse files Browse the repository at this point in the history
  • Loading branch information
namedgraph committed Nov 23, 2023
1 parent 5ca5d7e commit 7858b37
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -809,7 +809,7 @@ exclude-result-prefixes="#all"
<!-- resource content/SPARQL content cancel 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:variable name="container" select="ancestor::div[contains-token(@class, 'content')]" as="element()"/>

<xsl:choose>
<!-- updating existing content -->
Expand Down

0 comments on commit 7858b37

Please sign in to comment.