Skip to content

Instantly share code, notes, and snippets.

@kruppel
Created September 19, 2012 16:27
Show Gist options
  • Save kruppel/3750607 to your computer and use it in GitHub Desktop.
Save kruppel/3750607 to your computer and use it in GitHub Desktop.
Display all hidden diffs in a GitHub pull request
var outdatedDiffs = document.getElementsByClassName('outdated-diff-comment-container');
Array.prototype.forEach.call(outdatedDiffs, function (diff) {
diff.classList.add('open');
});
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment