Loading
Bug 1765748 - [devtools] Remove unncessary complex SplitView#setItemClassName. r=jdescottes.
The function was setting extra classes on both the summary and the detail, running extra checks to not remove the base classes. It's only called from one place, and we only care about adding classes to the summary element, which we have access to directly. We're switching to classList.(add|remove) , which allows us to get rid of the SplitView method. Differential Revision: https://phabricator.services.mozilla.com/D144427