Skip to content

Global variable lightbox should be lightbox2 or something less generic #766

@theurere2

Description

@theurere2

The global variable set by lightbox should be the actual name of the lightbox script. This would make it easier for developers who work on a site and are not familiar with lightbox2 to find that lightbox2 is in use. Seeing lightbox does not help the developer figure out which lightbox is in use. The name is also so generic that conflicts could occur.

I had to ask ai which lightbox script was in use for the website I was working on based on the lightbox options. And it then gave me a link to your lightbox2 website.

Otherwise it works great! Thanks for the script.

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