Skip to content

Instantly share code, notes, and snippets.

@brockboland
Last active July 11, 2016 17:16
Show Gist options
  • Save brockboland/0e92e48d5dcfc7df6241 to your computer and use it in GitHub Desktop.
Save brockboland/0e92e48d5dcfc7df6241 to your computer and use it in GitHub Desktop.
Bookmarklet to expand outdated GitHub comments
// From BrendanAnnable: https://coderwall.com/p/akdgoq/expand-all-outdated-diff-comments-in-a-github-pull-request#comment_27799
javascript:Array.from(document.getElementsByClassName('outdated-diff-comment-container')).forEach(l => l.classList.add('open'));
@brockboland
Copy link
Author

GitHub is no longer using jQuery, apparently, so I switched to the version provided by BrendanAnnable in the comments here: https://coderwall.com/p/akdgoq/expand-all-outdated-diff-comments-in-a-github-pull-request

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment