Skip to content

Commit

Permalink
Removed clause for testing detect-platform.js
Browse files Browse the repository at this point in the history
  • Loading branch information
julienetie committed Feb 4, 2024
1 parent 1aece17 commit 8c334ae
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion examples/input-data/detect-platform.js
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ const desktops = {


const detectPlatform = () => {
if (userAgent === false) {
if (userAgent) {
const ua = userAgent.toLowerCase().replace(removeExcessMozillaAndVersion, empty)

// Determine the operating system.
Expand Down

0 comments on commit 8c334ae

Please sign in to comment.