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

Fix GIF freezing issues. #755

Open
wants to merge 2 commits into
base: develop
Choose a base branch
from
Open

Conversation

kahays
Copy link
Contributor

@kahays kahays commented Sep 22, 2022

With the option to disable GIF animation, sometimes GIFs still don't freeze on page load (an example.) Strangely, I've had no problems when the GIFs are further down in the page, like Crusader's post here. Edit: my posts per page setting is 5, for reference.

With some of the changes, there may be some dead code left over, but I'm not sure if all images get wrapped in <a> tags due to the exception in AwfulPost.java:507 checking if an image has a nolink attribute. I couldn't find an example of an image with that attribute but I can't say for sure.

@Sereri
Copy link
Member

Sereri commented Oct 3, 2022

Last thing, the file is currently using tabs as spacers. Please convert the entire file to spaces or update your changes to use tabs, thanks 😃

@kahays
Copy link
Contributor Author

kahays commented Oct 3, 2022

Great catch! Thank you, should be changed back to tabs now.

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