feat(windows): select hotkey link on header stop propgation

This commit is contained in:
Ross 2022-10-27 20:51:55 +10:00
parent e7f840c5ab
commit dce4304f17
2 changed files with 1 additions and 3 deletions

View file

@ -1122,8 +1122,6 @@ th
display: none;
}
.qrcode.qrcode_visible .qrcode_popup,
.qrcode.qrcode_visible .qrcode_back {
display: block;

View file

@ -123,7 +123,7 @@
<a class="hotkey" tabindex="-1">
<xsl:attribute name="href">keyman:hotkey_set?index=hotkey_lang_<xsl:value-of select="position()-1"/></xsl:attribute>
<xsl:attribute name="onmouseover">this.style.cursor='hand';</xsl:attribute>
<xsl:attribute name="onclick">event.stopPropagation;</xsl:attribute>
<xsl:attribute name="onmousedown">event.stopPropagation();event.returnValue=false;</xsl:attribute>
<xsl:choose>
<xsl:when test="hotkey"><xsl:value-of select="hotkey"/></xsl:when>
<xsl:otherwise><xsl:value-of select="$locale/string[@name='S_Hotkey_None']"/></xsl:otherwise>