mirror of
https://github.com/SchildiChat/element-web.git
synced 2024-10-01 01:26:12 -04:00
Merge pull request #2703 from uhoreg/patch-1
Add missing brackets to call to toUpperCase
This commit is contained in:
commit
f6957aa367
@ -52,7 +52,7 @@ function platformFriendlyName() {
|
|||||||
// Sorry, Linux users: you get lumped into here,
|
// Sorry, Linux users: you get lumped into here,
|
||||||
// but only because Linux's capitalisation is
|
// but only because Linux's capitalisation is
|
||||||
// normal. We do care about you.
|
// normal. We do care about you.
|
||||||
return window.process.platform[0].toUpperCase + window.process.platform.slice(1);
|
return window.process.platform[0].toUpperCase() + window.process.platform.slice(1);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user