Skip to content

Commit

Permalink
Move onclick attribute form <li> -> <ul>
Browse files Browse the repository at this point in the history
  • Loading branch information
tomschr committed Aug 21, 2024
1 parent e1125bb commit 801c3af
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions suse2022-ns/xhtml/lists.xsl
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@
<xsl:call-template name="formal.object.heading"/>
</xsl:if>

<ul class="tabs">
<ul class="tabs" onclick="showTabContent(event)">
<xsl:apply-templates select="d:varlistentry|comment()[preceding-sibling::d:varlistentry]
|processing-instruction()[preceding-sibling::d:varlistentry]"
mode="tab-titles" />
Expand All @@ -63,7 +63,7 @@
</xsl:template>

<xsl:template match="d:varlistentry" mode="tab-titles">
<li onclick="showTabContent(event)">
<li>
<xsl:attribute name="class">
<xsl:choose>
<xsl:when test="position() = 1">tab active-tab</xsl:when>
Expand Down

0 comments on commit 801c3af

Please sign in to comment.