Skip to content

Sidebar recalcHeight does not work? #11

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

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

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