Web Inspector: Uncaught Exception: undefined is not an object (evaluating 'this._clas...
authordrousso@apple.com <drousso@apple.com@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Fri, 26 Oct 2018 20:43:04 +0000 (20:43 +0000)
committerdrousso@apple.com <drousso@apple.com@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Fri, 26 Oct 2018 20:43:04 +0000 (20:43 +0000)
commitb312c43ce848931ae9d0e2ce9b2668fb450814a2
tree9db56632a04fff7d8e349f7a71053287d854a3bc
parent4325ce0c0a71beb9b0aa1d0de6a3bab0bab438c1
Web Inspector: Uncaught Exception: undefined is not an object (evaluating 'this._classListContainer.children')
https://bugs.webkit.org/show_bug.cgi?id=190966

Reviewed by Joseph Pecoraro.

* UserInterface/Views/GeneralStyleDetailsSidebarPanel.js:
(WI.GeneralStyleDetailsSidebarPanel.prototype.layout):
(WI.GeneralStyleDetailsSidebarPanel.prototype._classToggleButtonClicked):
(WI.GeneralStyleDetailsSidebarPanel.prototype._populateClassToggles):
Don't try to reload the class toggles if the we haven't `layout` yet, as the element won't
yet exist.

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@237481 268f45cc-cd09-0410-ab3c-d52691b4dbfc
Source/WebInspectorUI/ChangeLog
Source/WebInspectorUI/UserInterface/Views/GeneralStyleDetailsSidebarPanel.js