Skip to content

Commit f6957aa

Browse files
authored
Merge pull request element-hq#2703 from uhoreg/patch-1
Add missing brackets to call to toUpperCase
2 parents 96f6208 + ad79f67 commit f6957aa

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

‎src/vector/platform/ElectronPlatform.js‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -52,7 +52,7 @@ function platformFriendlyName() {
5252
// Sorry, Linux users: you get lumped into here,
5353
// but only because Linux's capitalisation is
5454
// normal. We do care about you.
55-
return window.process.platform[0].toUpperCase + window.process.platform.slice(1);
55+
return window.process.platform[0].toUpperCase() + window.process.platform.slice(1);
5656
}
5757
}
5858

0 commit comments

Comments
 (0)