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

Commit 950a3aa

Browse files
Steven YehSteven Yeh
authored andcommitted
Spacing
1 parent cdf446c commit 950a3aa

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

assets/js/openrct2.website.js

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

31-
function getPlatform(){
32-
if (navigator.platform.indexOf('Win') >= 0){
33-
if (navigator.userAgent.indexOf("WOW64") === -1 && navigator.userAgent.indexOf("Win64") === -1 ){
31+
function getPlatform() {
32+
if (navigator.platform.indexOf('Win') >= 0) {
33+
if (navigator.userAgent.indexOf("WOW64") === -1 && navigator.userAgent.indexOf("Win64") === -1 ) {
3434
return openrct2.Platform.WINDOWS32;
3535
} else {
3636
return openrct2.Platform.WINDOWS64; // 64-bit is the default as it is by far the most common these days
3737
}
38-
} else if (navigator.platform.indexOf('Linux') >= 0){
38+
} else if (navigator.platform.indexOf('Linux') >= 0) {
3939
return openrct2.Platform.LINUX;
40-
} else if (navigator.platform === 'MacIntel'){
40+
} else if (navigator.platform === 'MacIntel') {
4141
return openrct2.Platform.MACOS;
4242
} else {
4343
return openrct2.Platform.UNKNOWN;

0 commit comments

Comments
 (0)