Skip to content

Commit

Permalink
Lily/lmsutils: Add Microsoft Edge detection (#1115)
Browse files Browse the repository at this point in the history
  • Loading branch information
samuellouf authored Oct 30, 2023
1 parent 777904b commit 2640935
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions extensions/Lily/lmsutils.js
Original file line number Diff line number Diff line change
Expand Up @@ -1341,6 +1341,7 @@
return "Other";
}
if (args.DROPDOWN === "browser") {
if (user.includes("Edg")) return "Edge";
if (user.includes("Chrome")) return "Chrome";
if (user.includes("MSIE")) return "Internet Explorer";
if (user.includes("Firefox")) return "Firefox";
Expand Down

0 comments on commit 2640935

Please sign in to comment.