Skip to content

Commit 840fccd

Browse files
author
Erik Loyer
committed
Fix capitalization
1 parent b0bf442 commit 840fccd

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

system/application/views/widgets/edit/jquery.content_selector_bootstrap.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2812,6 +2812,7 @@ isMac = navigator.userAgent.indexOf('Mac OS X') != -1;
28122812
var type_display_name = 'Users';
28132813
} else if (scalarapi.model.scalarTypes[opts.types[t]]) {
28142814
var type_display_name = scalarapi.model.scalarTypes[opts.types[t]].plural;
2815+
type_display_name = type_display_name.charAt(0).toUpperCase() + type_display_name.slice(1);
28152816
} else {
28162817
var type_display_name = opts.types[t].charAt(0).toUpperCase() + opts.types[t].slice(1);
28172818
}

0 commit comments

Comments
 (0)