Skip to content

Commit 87c5fa1

Browse files
committed
fix typo
1 parent 0e16840 commit 87c5fa1

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

downloadButton.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -113,7 +113,7 @@ function getUserPlatform () {
113113
if (navigator.platform === 'MacIntel') {
114114
return 'mac'
115115
}
116-
if (navigator.platform.toLowerCase.includes('linux')) {
116+
if (navigator.platform.toLowerCase().includes('linux')) {
117117
return 'linux'
118118
}
119119
if (navigator.userAgent.toLowerCase().includes('win64') || navigator.userAgent.toLowerCase().includes('wow64') || navigator.userAgent.toLowerCase().includes('windows')) {

0 commit comments

Comments
 (0)