Skip to content

Cannot read properties of undefined (reading 'css') (resize.js:64) #11000

@reklamasieciowa

Description

@reklamasieciowa

Describe the bug
Resize.js attempts to assign styles to the navtree element. If GENERATE_TREEVIEW = NO is in the configuration, the element does not exist.

navtree = $("#nav-tree");
[...]
navtree.css({height:navtreeHeight + "px"});

Screenshots
image

To Reproduce
Set

GENERATE_TREEVIEW = NO
DISABLE_INDEX = NO

Check the errors in the console.

Expected behavior
Checking if an element exists in the DOM.

Version
1.11.0

Metadata

Metadata

Assignees

No one assigned

    Labels

    HTMLHTML / XHTML output

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions