Skip to content
This repository was archived by the owner on Oct 5, 2024. It is now read-only.

Commit c1ac073

Browse files
Steven YehSteven Yeh
authored andcommitted
more arrow functions
1 parent 99f16c4 commit c1ac073

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

assets/js/openrct2.website.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ openrct2.Platform = Object.freeze({
2828
}
2929
}); // Object.freeze() prevents this from being futzed with
3030

31-
function getPlatform() {
31+
const getPlatform = () => {
3232
const { platform, userAgent } = navigator;
3333
if (platform.includes('Win')) {
3434
const win64UserAgents = ["WOW64", "Win64"];

0 commit comments

Comments
 (0)