Skip to content

Conversation

@adamwolf
Copy link
Contributor

Summary

Previously, when you clicked the Add button in Safari, the page wouldn't change.

It looked like it wasn't doing anything, as noted by @rcarmo (#658 (comment))

I didn't track it down the exact reason why. It may be that Safari didn't like the two opening <h3>s, but I was able to find a bunch of people complaining about Safari being very finicky with innerHTML and actually repainting the page, enough that I decided to try just extending the block hide/show behavior already done with the delay-warning, and it works for me now in both Chrome and Safari.

Related issues

#658, kinda.

Changes these areas

  • Bugfixes
  • Feature behavior
  • Command line interface
  • Configuration options
  • Internal architecture
  • Snapshot data layout on disk

Previously, when you clicked the Add button, the page wouldn't change.

It looked like it wasn't doing anything, as noted by @rcarmo
(ArchiveBox#658 (comment))

I didn't track it down the exact reason why. It may be that Safari
didn't like the two opening <h3>s, but I was able to find a bunch of
people complaining about Safari being very finicky with innerHTML
and actually repainting the page, enough that I decided to try just
extending the block hide/show behavior already done with the
delay-warning, and it works for me now in both Chrome and Safari.

For ArchiveBox#658.
@pirate
Copy link
Member

pirate commented Oct 31, 2021

Awesome, thanks!

@pirate pirate merged commit f809e3b into ArchiveBox:dev Oct 31, 2021
@adamwolf
Copy link
Contributor Author

adamwolf commented Oct 31, 2021 via email

@pirate
Copy link
Member

pirate commented Nov 1, 2021

done! @adamwolf

@pirate pirate added size: easy is: bug touches: js Pull requests that update Javascript code status: done Work is completed and released (or scheduled to be released in the next version) why: functionality Intended to improve ArchiveBox functionality or features labels Nov 1, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

size: easy status: done Work is completed and released (or scheduled to be released in the next version) touches: js Pull requests that update Javascript code why: functionality Intended to improve ArchiveBox functionality or features

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants