File tree Expand file tree Collapse file tree 1 file changed +6
-2
lines changed Expand file tree Collapse file tree 1 file changed +6
-2
lines changed Original file line number Diff line number Diff line change 11// ==UserScript==
22// @name GitHub Diff File Toggle
3- // @version 0.1.1
3+ // @version 0.1.2
44// @description A userscript that adds global diff file toggles
55// @license MIT
66// @author Rob Garrison
1111// @require https://greasyfork.org/scripts/28721-mutations/code/mutations.js?version=882023
1212// @require https://greasyfork.org/scripts/398877-utils-js/code/utilsjs.js?version=785415
1313// @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+
1418// ==/UserScript==
1519/* global $ $$ on debounce make */
1620( ( ) => {
6367
6468 const handleChange = event => {
6569 const { target, altKey, shiftKey } = event ;
66- const anyModifier = altKey || shiftKey ;
70+ const anyModifier = altKey || shiftKey ;
6771 if ( ! busy && anyModifier && target . matches ( ".js-reviewed-checkbox" ) ) {
6872 busy = true ;
6973 toggle ( target , target . checked ) ;
You can’t perform that action at this time.
0 commit comments