Skip to content

Commit 9a9e9e8

Browse files
TallGirlVanessaMottie
authored andcommitted
Support Cmd + Shift + Click for Macs (#54)
1 parent 593fc73 commit 9a9e9e8

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

github-toggle-expanders.user.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -47,7 +47,7 @@
4747
) {
4848
// give GitHub time to add the class
4949
setTimeout(() => {
50-
toggle(target, event.ctrlKey);
50+
toggle(target, event.ctrlKey || event.metaKey);
5151
}, 100);
5252
}
5353
});

0 commit comments

Comments
 (0)