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:
Yura Zenevich 2018-09-12 19:31:31 +00:00
parent e8fffc40c6
commit a66f25b9b5

View File

@ -194,6 +194,8 @@ class Accessible extends Component {
valueProps.onDOMNodeMouseOut = () => this.hideHighlighter();
valueProps.onDOMNodeMouseOver = () => this.showHighlighter(this.props.DOMNode);
valueProps.onInspectIconClick = () => this.selectNode(this.props.DOMNode);
} else {
valueProps.noGrip = true;
}
const classList = [ "node", "object-node" ];