mirror of
https://github.com/gryf/pentadactyl-pm.git
synced 2025-12-23 10:08:00 +01:00
Further disable tab numbers on Gecko 1.9.
This commit is contained in:
@@ -160,7 +160,7 @@
|
|||||||
<xsl:if test="@tag">
|
<xsl:if test="@tag">
|
||||||
<xsl:attribute name="href"><xsl:value-of select="concat('#', substring-before(concat(@tag, ' '), ' '))"/></xsl:attribute>
|
<xsl:attribute name="href"><xsl:value-of select="concat('#', substring-before(concat(@tag, ' '), ' '))"/></xsl:attribute>
|
||||||
</xsl:if>
|
</xsl:if>
|
||||||
<xsl:apply-templates select="node()" mode="help-1"/>
|
<xsl:apply-templates select="node()[not(self::dactyl:strut)]" mode="help-1"/>
|
||||||
</a>
|
</a>
|
||||||
<xsl:call-template name="toc">
|
<xsl:call-template name="toc">
|
||||||
<xsl:with-param name="level" select="$level + 1"/>
|
<xsl:with-param name="level" select="$level + 1"/>
|
||||||
|
|||||||
@@ -37,6 +37,7 @@ const Tabs = Module("tabs", {
|
|||||||
},
|
},
|
||||||
|
|
||||||
_updateTabCount: function () {
|
_updateTabCount: function () {
|
||||||
|
if (dactyl.has("Gecko2"))
|
||||||
for (let [i, tab] in Iterator(this.visibleTabs)) {
|
for (let [i, tab] in Iterator(this.visibleTabs)) {
|
||||||
function node(clas) document.getAnonymousElementByAttribute(tab, "class", clas);
|
function node(clas) document.getAnonymousElementByAttribute(tab, "class", clas);
|
||||||
if (!node("dactyl-tab-number")) {
|
if (!node("dactyl-tab-number")) {
|
||||||
|
|||||||
Reference in New Issue
Block a user