Skip to content

Sidebar recalcHeight does not work? #11

@JohnnyQuazar

Description

@JohnnyQuazar

I believe the attached is properly programmed and that the recalcHeight() feature needs a little attention for sidebar elements? Sorry for this crappy format:

let content = "Darkweb"; let sidebar = doc.querySelector(".sbitem._darkweb") || createSidebarItem("Darkweb", "", "\ueabe", "_darkweb"); sidebar.body.innerHTML = content;
.
.
let content = "TOR(200k): " + haveTor + "";
content += " SSH(500k): " + haveSSH + ""
.
.
sidebar.body.innerHTML = content;
sidebar.recalcHeight();`

darkweb2.zip

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions