Commit c6838d8c authored by Marshall Greenblatt's avatar Marshall Greenblatt

Fix DevTools inspect element at (issue #2115)

parent bab532b3
......@@ -211,7 +211,7 @@ void CefDevToolsFrontend::DocumentAvailableInMainFrame() {
if (agent_host != agent_host_) {
agent_host_ = agent_host;
agent_host_->AttachClient(this);
if (inspect_element_at_.IsEmpty()) {
if (!inspect_element_at_.IsEmpty()) {
agent_host_->InspectElement(
this, inspect_element_at_.x, inspect_element_at_.y);
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment