Skip to content

Conditional elements in html #173

@sabinantony

Description

@sabinantony

var enjoyhint_script_steps = [ { "next #first": 'text', }, { "next #second": 'text' }.

'#first' is conditional. if the "#first" is not in the HTML code script is not running.

If any id is not present in HTML it should ignore and run the next line.

error
Uncaught TypeError: Cannot read properties of undefined (reading 'getBoundingClientRect')
at enjoyhint.js:154:60

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions