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

Change bookmarkCounter to find multiple selectors #3351

Merged
merged 1 commit into from
Oct 5, 2024

Conversation

kirkkwang
Copy link
Contributor

This commit will change the bookmarkCounter function to look for multiple selectors instead of one. This way if we want to put the bookmark counter elsewhere it will also be dynamic.

Ref:

bl-bookmark-pr

Copy link
Contributor

@sandbergja sandbergja left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks, @kirkkwang ! Looks like a good change to me, I just had two suggestions.

This commit will change the bookmarkCounter function to look for
multiple selectors instead of one.  This way if we want to put the
bookmark counter elsewhere it will also be dynamic.

Ref:
- projectblacklight#3350
@kirkkwang
Copy link
Contributor Author

@sandbergja thank you so much! I've made the suggested changes.

Copy link
Contributor

@sandbergja sandbergja left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks, @kirkkwang !

@sandbergja sandbergja merged commit b901630 into projectblacklight:main Oct 5, 2024
10 checks passed
cbeer pushed a commit that referenced this pull request Oct 23, 2024
This commit will change the bookmarkCounter function to look for
multiple selectors instead of one.  This way if we want to put the
bookmark counter elsewhere it will also be dynamic.

Ref:
- #3350
cbeer pushed a commit that referenced this pull request Oct 23, 2024
This commit will change the bookmarkCounter function to look for
multiple selectors instead of one.  This way if we want to put the
bookmark counter elsewhere it will also be dynamic.

Ref:
- #3350
sandbergja added a commit to pulibrary/orangelight that referenced this pull request Nov 6, 2024
…ve a bookmark.

Currently, this test passes on Blacklight 7, fails on Blacklight 8.3, and passes on
Blacklight 8.6.1 thanks to @kirkkwang 's work in
projectblacklight/blacklight#3351

Helps with #4539
sandbergja added a commit to pulibrary/orangelight that referenced this pull request Nov 6, 2024
…ve a bookmark.

Currently, this test passes on Blacklight 7, fails on Blacklight 8.3, and passes on
Blacklight 8.6.1 thanks to @kirkkwang 's work in
projectblacklight/blacklight#3351

Helps with #4539
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants