diff options
author | Moonchild <mcwerewolf@gmail.com> | 2018-02-04 19:50:46 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2018-02-04 19:50:46 +0100 |
commit | c0dfa1fdaa3f1135504d81507f61b3fd8dfd25e0 (patch) | |
tree | cfd55eadedcd6450ab13bfc69510ef5713eb6fd2 /devtools/client/inspector/markup/views/markup-container.js | |
parent | c1855eae91646bd3092660ffe193ad36d8b61287 (diff) | |
parent | 69ee28ad18c791c63de13e43c41c6794d188e8dc (diff) | |
download | UXP-c0dfa1fdaa3f1135504d81507f61b3fd8dfd25e0.tar UXP-c0dfa1fdaa3f1135504d81507f61b3fd8dfd25e0.tar.gz UXP-c0dfa1fdaa3f1135504d81507f61b3fd8dfd25e0.tar.lz UXP-c0dfa1fdaa3f1135504d81507f61b3fd8dfd25e0.tar.xz UXP-c0dfa1fdaa3f1135504d81507f61b3fd8dfd25e0.zip |
Merge pull request #5 from janekptacijarabaci/devtools_inspector_markupView_1
Markup View: show an ellipsis character in collapsed nodes
Diffstat (limited to 'devtools/client/inspector/markup/views/markup-container.js')
-rw-r--r-- | devtools/client/inspector/markup/views/markup-container.js | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/devtools/client/inspector/markup/views/markup-container.js b/devtools/client/inspector/markup/views/markup-container.js index b54157242..44768b46c 100644 --- a/devtools/client/inspector/markup/views/markup-container.js +++ b/devtools/client/inspector/markup/views/markup-container.js @@ -211,10 +211,12 @@ MarkupContainer.prototype = { } if (this.showExpander) { + this.elt.classList.add("expandable"); this.expander.style.visibility = "visible"; // Update accessibility expanded state. this.tagLine.setAttribute("aria-expanded", this.expanded); } else { + this.elt.classList.remove("expandable"); this.expander.style.visibility = "hidden"; // No need for accessible expanded state indicator when expander is not // shown. |