mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-10-21 01:05:45 +00:00
Bug 1490776 - fix noGrip array rendering in a11y panel sidebar. r=gl
MozReview-Commit-ID: 4QAPbUBYiCW Differential Revision: https://phabricator.services.mozilla.com/D5697 --HG-- extra : moz-landing-system : lando
This commit is contained in:
parent
e8fffc40c6
commit
a66f25b9b5
@ -194,6 +194,8 @@ class Accessible extends Component {
|
|||||||
valueProps.onDOMNodeMouseOut = () => this.hideHighlighter();
|
valueProps.onDOMNodeMouseOut = () => this.hideHighlighter();
|
||||||
valueProps.onDOMNodeMouseOver = () => this.showHighlighter(this.props.DOMNode);
|
valueProps.onDOMNodeMouseOver = () => this.showHighlighter(this.props.DOMNode);
|
||||||
valueProps.onInspectIconClick = () => this.selectNode(this.props.DOMNode);
|
valueProps.onInspectIconClick = () => this.selectNode(this.props.DOMNode);
|
||||||
|
} else {
|
||||||
|
valueProps.noGrip = true;
|
||||||
}
|
}
|
||||||
|
|
||||||
const classList = [ "node", "object-node" ];
|
const classList = [ "node", "object-node" ];
|
||||||
|
Loading…
Reference in New Issue
Block a user