We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 0e16840 commit 87c5fa1Copy full SHA for 87c5fa1
1 file changed
downloadButton.js
@@ -113,7 +113,7 @@ function getUserPlatform () {
113
if (navigator.platform === 'MacIntel') {
114
return 'mac'
115
}
116
- if (navigator.platform.toLowerCase.includes('linux')) {
+ if (navigator.platform.toLowerCase().includes('linux')) {
117
return 'linux'
118
119
if (navigator.userAgent.toLowerCase().includes('win64') || navigator.userAgent.toLowerCase().includes('wow64') || navigator.userAgent.toLowerCase().includes('windows')) {
0 commit comments