Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

IE Detection: Use UserAgent #1

Merged
merged 1 commit into from
Oct 14, 2015
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions filedrop.js
Original file line number Diff line number Diff line change
Expand Up @@ -565,8 +565,8 @@
// false for any other version/browser.
// IE 6 on XP SP 3 gives JScript version 5.7 while IE 8 - 5.8.
// IE 9 on Win7 gives 9.
isIE6: /*@cc_on/*@if(@_jscript_version<=5.7)true@else@*/false/*@end@*/,
isIE9: /*@cc_on/*@if(@_jscript_version<=9)true@else@*/false/*@end@*/,
isIE6: /\bMSIE 6/.test(navigator.userAgent),
isIE9: /\bMSIE 9/.test(navigator.userAgent),

// Test for Google Chrome. This isn't used to determine available
// File API but only to work around certain event glitches.
Expand Down