Browse Source

LibWebView: Remove early exit in `InspectorClient::inspect()`

This early exit prevents to show the current DOM in the inspector, when
the inspector was already opened.

Fixes #990
simonkrauter 11 months ago
parent
commit
dd5550dde3
1 changed files with 0 additions and 2 deletions
  1. 0 2
      Userland/Libraries/LibWebView/InspectorClient.cpp

+ 0 - 2
Userland/Libraries/LibWebView/InspectorClient.cpp

@@ -194,8 +194,6 @@ void InspectorClient::inspect()
 {
     if (!m_inspector_loaded)
         return;
-    if (m_dom_tree_loaded)
-        return;
 
     m_content_web_view.inspect_dom_tree();
     m_content_web_view.inspect_accessibility_tree();