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

completely remove floatthead #197

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open

Conversation

mkoryak
Copy link

@mkoryak mkoryak commented Oct 20, 2021

Removed all code that initializes the plugin (doing this under the assumption that #194 removes the js file from this project).
Also removed show_fragment_target() because it would no longer work without floatthead present.

This fixes #192 , or at least fixes the fix that was made in it.

The proper way to fix #192 would be to take a look at the show_fragment_target() function and figure out why its setting the incorrect scrollTop there when you click on links. I cannot do this without seeing the generated code.

Either way, someone needs to test this change before merging it, because I have not done so.

Removed all code that initializes the plugin (doing this under the assumption that timbunce#194 removes the js file from this project).
Also removed `show_fragment_target()` because it would no longer work without floatthead present. 

This fixes timbunce#192 , or at least fixes the fix that was made in it.

The proper way to fix timbunce#192 would be to take a look at the `show_fragment_target()` function and figure out why its setting the incorrect scrollTop there when you click on links. I cannot do this without seeing the generated code. 

Either way, someone needs to test this change before merging it, because I have not done so.
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.

nytprofhtml - internal anchor links in html pages go to wrong locations
1 participant