diff options
Diffstat (limited to 'WebCore/inspector/front-end/PropertiesSection.js')
-rw-r--r-- | WebCore/inspector/front-end/PropertiesSection.js | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/WebCore/inspector/front-end/PropertiesSection.js b/WebCore/inspector/front-end/PropertiesSection.js index 3f1b937..a4b2fba 100644 --- a/WebCore/inspector/front-end/PropertiesSection.js +++ b/WebCore/inspector/front-end/PropertiesSection.js @@ -69,7 +69,12 @@ WebInspector.PropertiesSection.prototype = { if (this._title === x) return; this._title = x; - this.titleElement.textContent = x; + + if (x instanceof Node) { + this.titleElement.removeChildren(); + this.titleElement.appendChild(x); + } else + this.titleElement.textContent = x; }, get subtitle() |