Created
July 4, 2018 00:34
-
-
Save codeStryke/cbb2115d8dde7a348ca39526d3e2e548 to your computer and use it in GitHub Desktop.
Collapse all file diffs in a PR
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
var elems = document.querySelectorAll('.js-details-target'); | |
for( var i = 0; i < elems.length; i++ ) { | |
elems[i].click(); | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment