Last active
December 23, 2020 10:43
-
-
Save MrMoshkovitz/23d69e1c02aa28ea7dd4bbe89a88d7fb to your computer and use it in GitHub Desktop.
Github
This file contains 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
"https://github.com/johanbrandhorst/collapse-gitlab-files/blob/master/collapse-all-gitlab-diffs.user.js" | |
//Pull Request Related | |
$(".diff-file").find("div.nothing-here-block").each(function (i){ | |
if (!$(this).is(":visible")){ | |
$(this).parents("div.file-holder").find("div.file-title").trigger("click"); | |
} | |
}); | |
//Commit Related |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment