Skip to content
This repository has been archived by the owner on Dec 11, 2019. It is now read-only.

Commit

Permalink
Inspect Element of active webview and not first
Browse files Browse the repository at this point in the history
Fix #1279

Auditors: @aekeus
  • Loading branch information
bbondy committed Apr 8, 2016
1 parent 747d4f3 commit 75c788a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion js/actions/windowActions.js
Original file line number Diff line number Diff line change
Expand Up @@ -803,7 +803,7 @@ const windowActions = {
},

inspectElement: function (x, y) {
const webview = document.querySelector('webview')
const webview = document.querySelector('.frameWrapper.isActive webview')
if (webview) {
webview.inspectElement(x, y)
}
Expand Down

1 comment on commit 75c788a

@aekeus
Copy link
Member

@aekeus aekeus commented on 75c788a Apr 8, 2016

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

++

Please sign in to comment.