File tree Expand file tree Collapse file tree 1 file changed +1
-1
lines changed
core/src/main/java/hudson Expand file tree Collapse file tree 1 file changed +1
-1
lines changed Original file line number Diff line number Diff line change @@ -2633,7 +2633,7 @@ public static String translateModifierKeysForUsersPlatform(String keyboardShortc
26332633 StaplerRequest2 currentRequest = Stapler .getCurrentRequest2 ();
26342634 currentRequest .getWebApp ().getDispatchValidator ().allowDispatch (currentRequest , Stapler .getCurrentResponse2 ());
26352635 String userAgent = currentRequest .getHeader ("User-Agent" );
2636- if (userAgent != null ) {
2636+ if (userAgent != null ) {
26372637 List <String > platformsThatUseCommand = List .of ("MAC" , "IPHONE" , "IPAD" );
26382638 boolean useCmdKey = platformsThatUseCommand .stream ().anyMatch (e -> userAgent .toUpperCase ().contains (e ));
26392639 return keyboardShortcut .replace ("CMD" , useCmdKey ? "⌘" : "CTRL" );
You can’t perform that action at this time.
0 commit comments