Web Inspector: Type Token View shows type information on hover when it shouldn't
[WebKit-https.git] / Source / WebInspectorUI / UserInterface / Views / TypeTokenView.js
index cf25c817c7632ee40901d91fabffaf7f41412765..0351a1b9f6814c57d4df315f4ee61eefe432334c 100644 (file)
@@ -132,7 +132,7 @@ WebInspector.TypeTokenView.prototype = {
         if (this._types.primitiveTypeNames && this._types.primitiveTypeNames.length > 1)
             return true;
 
-        if (this._types.structures && this._types.structures)
+        if (this._types.structures && this._types.structures.length)
             return true;
 
         return false;