浏览代码

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 月之前
父节点
当前提交
dd5550dde3
共有 1 个文件被更改,包括 0 次插入2 次删除
  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();