Bug 403125: find bar highlighting doesn't work as expected (button incorrectly assumes it's 'checked' property is toggled after the oncommand handler is called), r=mano, a=schrep

This commit is contained in:
gavin@gavinsharp.com 2007-11-12 07:23:13 -08:00
parent 8ece07dffc
commit c30266dba2

View File

@ -238,7 +238,7 @@
label="&highlight.label;"
accesskey="&highlight.accesskey;"
tooltiptext="&highlight.tooltiptext;"
oncommand="toggleHighlight(!this.checked);"
oncommand="toggleHighlight(this.checked);"
type="checkbox"
disabled="true"
xbl:inherits="accesskey=highlightaccesskey"/>