Skip to content

在dom节点不显示时初始化timetable会导致左侧栏内div的height为0 #11

Description

@Fros1er

var courseItemDomHeight = (document.querySelector('.stage_1 li') || document.querySelector('.stage_none li')).offsetHeight;

应该是这一行和下一行的问题,设置的dom节点如果不显示这两行的结果会是0,导致左侧那一栏所有div的height都是0

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