Fix typo, simplify a legacy IE check

This commit is contained in:
Austin Hyde
2014-01-31 11:38:08 -05:00
parent 9ffed5bf5f
commit ff4f4be8aa
2 changed files with 2 additions and 4 deletions

View File

@@ -60,7 +60,7 @@ ol.LEGACY_IE_SUPPORT = false;
* @type {boolean}
*/
ol.IS_LEGACY_IE = goog.userAgent.IE &&
goog.userAgent.isVersionOrHigher('9.0') && goog.userAgent.VERSION !== '';
!goog.userAgent.isVersionOrHigher('9.0') && goog.userAgent.VERSION !== '';
/**