Removed the browser limitation for Opera. We don't do any version check numbers - use at your own risk\!
Monotone-Parent: 8cb90e9b9131045b60db27358a0651385c689a42 Monotone-Revision: 1a442265f5943bf4d60fcf33caf909bbff76bd38 Monotone-Author: ludovic@Sophos.ca Monotone-Date: 2010-09-03T19:20:02 Monotone-Branch: ca.inverse.sogomaint-2.0.2
parent
3178dcf914
commit
45c653d990
|
@ -546,7 +546,7 @@
|
|||
cc = [[context request] clientCapabilities];
|
||||
|
||||
//NSLog(@"Browser = %@", [cc description]);
|
||||
// NSLog(@"User agent = %@", [cc userAgent]);
|
||||
//NSLog(@"User agent = %@", [cc userAgent]);
|
||||
//NSLog(@"Browser major version = %i", [cc majorVersion]);
|
||||
|
||||
return (([[cc userAgentType] isEqualToString: @"IE"]
|
||||
|
@ -557,6 +557,7 @@
|
|||
&& [cc majorVersion] >= 3)
|
||||
|| ([[cc userAgentType] isEqualToString: @"Konqueror"]
|
||||
&& [cc majorVersion] >= 4)
|
||||
|| [[cc userAgentType] isEqualToString: @"Opera"]
|
||||
);
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue