Skip to content

Commit

Permalink
fixup! click to inspect the element from accessibility report
Browse files Browse the repository at this point in the history
  • Loading branch information
philschatz committed Sep 28, 2016
1 parent 0faef96 commit 9d0c980
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/accessibility-element-view.js
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ class AccessibilityElementView extends SelectableView {
// Add a click-handler that will select the element.
// Uses the `accessibilityAuditMap` defined in accessibility.js
this.selectorPath.onclick = (evt) => {
evt.preventDefault()
evt.stopPropagation()
Eval.execute(`inspect(window.__devtron.accessibilityAuditMap.get(${this.pathId}))`)
}
}
Expand Down

0 comments on commit 9d0c980

Please sign in to comment.