Web Inspector: REGRESSION(r238602): Elements: collapsing a DOM node with the left...
authormattbaker@apple.com <mattbaker@apple.com@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Thu, 6 Dec 2018 20:37:55 +0000 (20:37 +0000)
committermattbaker@apple.com <mattbaker@apple.com@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Thu, 6 Dec 2018 20:37:55 +0000 (20:37 +0000)
commit716f09a561026cab179619c314bc66b7eccb27b8
treebd26e72271389c7a67c82cbc212de0ca2c257099
parent28935d59e3077061b16ea67aa8ca0d0bef3a0d9b
Web Inspector: REGRESSION(r238602): Elements: collapsing a DOM node with the left arrow doesn't work
https://bugs.webkit.org/show_bug.cgi?id=192353
<rdar://problem/46455019>

Reviewed by Devin Rousso.

* UserInterface/Views/TreeElement.js:
(WI.TreeElement.prototype.deselect):
Don't early return when the element is not the selected tree element.
This condition no longer holds now that TreeOutline supports multiple selection.

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