feat: Create the capitalize() helper
This commit is contained in:
@@ -614,6 +614,10 @@
|
||||
fillCharacterRoster();
|
||||
};
|
||||
|
||||
const capitalize = (str) => {
|
||||
return String(str).charAt(0).toUpperCase() + String(str).slice(1);
|
||||
};
|
||||
|
||||
document.addEventListener(
|
||||
"DOMContentLoaded",
|
||||
() => {
|
||||
|
Reference in New Issue
Block a user