Skip to content

Commit 0180351

Browse files
authored
Update Github_Commit_Whitespace.user.js (#154)
1 parent 3be84a8 commit 0180351

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Github_Commit_Whitespace/Github_Commit_Whitespace.user.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -49,7 +49,7 @@
4949
g.appendChild(a)
5050

5151
b.parentNode.insertBefore(g, b)
52-
} else if (/\/pull\/\d*\/(files|commits)/.test(location.href) && (e = document.querySelector('#files_bucket .pr-toolbar .diffbar > .float-right'))) {
52+
} else if (/\/pull\/\d*\/(files|commits)/.test(location.href) && (e = document.querySelector('#files_bucket .pr-toolbar .diffbar > .pr-review-tools'))) {
5353

5454
var r = e.querySelector('.GithubCommitWhitespaceButton')
5555
if (r) {

0 commit comments

Comments
 (0)