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

Avoid CSP violation when using pagination due to inline javascript #499

Merged
merged 2 commits into from
May 25, 2017
Merged

Avoid CSP violation when using pagination due to inline javascript #499

merged 2 commits into from
May 25, 2017

Conversation

trappedion
Copy link
Contributor

Minor change to avoid CSP violation when using pagination due to inline javascript.
As discussed in issue #498.

@javve javve merged commit 88874a4 into javve:master May 25, 2017
@javve
Copy link
Owner

javve commented May 25, 2017

Looks good! Thanks a lot for the pull request!

dregad added a commit to dregad/list.js that referenced this pull request Jun 7, 2022
Fixes a regression introduced by javve#499, causing the browser to scroll to 
the top of the page when the pagination buttons are clicked.
@dregad
Copy link

dregad commented Jun 7, 2022

This introduces a regression: if the list.js object is not at the top of the page, then clicking the navigation buttons will make the browser scroll back up to the top.

I have submitted PR #750 to fix this.

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.

3 participants