Skip to content

Commit

Permalink
Fix the div.span12 expression
Browse files Browse the repository at this point in the history
  • Loading branch information
namedgraph committed Dec 20, 2024
1 parent c278d25 commit b84e383
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -721,7 +721,7 @@ $series: <xsl:value-of select="$series"/>
<!-- hide the row with the block controls -->
<ixsl:set-style name="z-index" select="'-1'" object="key('elements-by-class', 'row-block-controls', $block)"/>
<!-- hide the progress bar -->
<xsl:for-each select="$block/div[contains-token(@class, 'span12')]">
<xsl:for-each select="$container/parent::div[contains-token(@class, 'span12')]">
<xsl:sequence select="ixsl:call(ixsl:get(., 'classList'), 'toggle', [ 'progress', false() ])[current-date() lt xs:date('2000-01-01')]"/>
<xsl:sequence select="ixsl:call(ixsl:get(., 'classList'), 'toggle', [ 'progress-striped', false() ])[current-date() lt xs:date('2000-01-01')]"/>
<xsl:sequence select="ixsl:call(ixsl:get(., 'classList'), 'toggle', [ 'active', false() ])[current-date() lt xs:date('2000-01-01')]"/>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -718,7 +718,7 @@ exclude-result-prefixes="#all"
<!-- hide the row with the block controls -->
<ixsl:set-style name="z-index" select="'-1'" object="key('elements-by-class', 'row-block-controls', $block)"/>
<!-- hide the progress bar -->
<xsl:for-each select="$block/div[contains-token(@class, 'span12')]">
<xsl:for-each select="$container/parent::div[contains-token(@class, 'span12')]">
<xsl:sequence select="ixsl:call(ixsl:get(., 'classList'), 'toggle', [ 'progress', false() ])[current-date() lt xs:date('2000-01-01')]"/>
<xsl:sequence select="ixsl:call(ixsl:get(., 'classList'), 'toggle', [ 'progress-striped', false() ])[current-date() lt xs:date('2000-01-01')]"/>
<xsl:sequence select="ixsl:call(ixsl:get(., 'classList'), 'toggle', [ 'active', false() ])[current-date() lt xs:date('2000-01-01')]"/>
Expand Down

0 comments on commit b84e383

Please sign in to comment.