Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[release-8.x branch] Don't include blacklight js twice when using Sprockets #3372

Merged
merged 1 commit into from
Oct 21, 2024

Commits on Oct 21, 2024

  1. Don't include blacklight js twice when using Sprockets

    As @mamrey noted on #3263, this can lead to a user being unable to add bookmarks,
    since the relevant eventlistener is added twice, so every time the user clicks to
    add a bookmark, the toggle function is run twice, essentially doing nothing.
    
    This bug (and fix) only affect Sprockets -- When using Importmap or Propshaft, this
    branch of the view isn't even reached.
    sandbergja committed Oct 21, 2024
    Configuration menu
    Copy the full SHA
    e80ae1b View commit details
    Browse the repository at this point in the history