Skip to content

At the bottom of the body? Are you serious?? #531

Open
@teo1978

Description

I've just replaced lightbox 2.7.1 with 2.8.2. To start with, I would expect it to be a 100% backward-compatible drop-in replacement that would work out of the box where the previous version used to work, otherwise you should call it 3.x.

Then I found out what the breaking change is:

Include the Javascript at the bottom of your page before the closing </body> tag:

The old version used to work by placing it in the <head>. Besides the fact that a decently designed script would work either way, having it in <head> is far more elegant and it is the way most modern frameworks and libraries work.

You are going backwards, making things worse rather than better. I'm definitely done with Lightbox.

Metadata

Assignees

No one assigned

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions