Fix collection tree header indentation on macOS

This commit is contained in:
Dan Stillman 2021-08-21 05:54:52 -04:00
parent 881ab5f59e
commit c965e6159a

View file

@ -294,7 +294,7 @@ var CollectionTree = class CollectionTree extends LibraryTree {
let twisty;
if (this.isContainerEmpty(index)) {
twisty = document.createElementNS("http://www.w3.org/1999/xhtml", 'span');
if (Zotero.isMac && treeRow.isHeader) {
if (Zotero.isMac && treeRow.isHeader()) {
twisty.classList.add("spacer-header");
}
else {