Web Inspector: TypeError when hovering over "Show All Nodes" button in the Dom Tree...
[WebKit-https.git] / Source / WebInspectorUI / UserInterface / Views / DOMTreeOutline.js
index e2e9ad7..2bf2d14 100644 (file)
@@ -309,7 +309,7 @@ WebInspector.DOMTreeOutline.prototype = {
             this._previousHoveredElement = element;
 
             // Lazily compute tag-specific tooltips.
-            if (element.representedObject && !element.tooltip)
+            if (element.representedObject && !element.tooltip && element._createTooltipForNode)
                 element._createTooltipForNode();
         }