File tree 1 file changed +6
-2
lines changed 1 file changed +6
-2
lines changed Original file line number Diff line number Diff line change 1
1
// ==UserScript==
2
2
// @name GitHub Diff File Toggle
3
- // @version 0.1.1
3
+ // @version 0.1.2
4
4
// @description A userscript that adds global diff file toggles
5
5
// @license MIT
6
6
// @author Rob Garrison
11
11
// @require https://greasyfork.org/scripts/28721-mutations/code/mutations.js?version=882023
12
12
// @require https://greasyfork.org/scripts/398877-utils-js/code/utilsjs.js?version=785415
13
13
// @icon https://github.githubassets.com/pinned-octocat.svg
14
+ // @updateURL https://raw.githubusercontent.com/Mottie/Github-userscripts/master/github-diff-file-toggle.user.js
15
+ // @downloadURL https://raw.githubusercontent.com/Mottie/Github-userscripts/master/github-diff-file-toggle.user.js
16
+ // @supportURL https://github.com/Mottie/GitHub-userscripts/issues
17
+
14
18
// ==/UserScript==
15
19
/* global $ $$ on debounce make */
16
20
( ( ) => {
63
67
64
68
const handleChange = event => {
65
69
const { target, altKey, shiftKey } = event ;
66
- const anyModifier = altKey || shiftKey ;
70
+ const anyModifier = altKey || shiftKey ;
67
71
if ( ! busy && anyModifier && target . matches ( ".js-reviewed-checkbox" ) ) {
68
72
busy = true ;
69
73
toggle ( target , target . checked ) ;
You can’t perform that action at this time.
0 commit comments