reverting r10700 (closes #2870)

git-svn-id: http://svn.openlayers.org/trunk/openlayers@10905 dc9f47b5-9b13-0410-9fdd-eb0c1a62fdaf
This commit is contained in:
ahocevar
2010-11-20 17:36:15 +00:00
parent 3e9253a5cb
commit b696581405
3 changed files with 7 additions and 5 deletions
+4 -2
View File
@@ -1633,10 +1633,12 @@ OpenLayers.Util.removeTail = function(url) {
/**
* Constant: IS_GECKO
* {Boolean} True if the userAgent reports the browser to use the Gecko engine
* {Boolean} True if the navigator.userAgent property reports the browser to
* use the Gecko engine
*/
OpenLayers.IS_GECKO = (function() {
return navigator.userAgent.toLowerCase().indexOf("gecko") != -1;
var ua = navigator.userAgent.toLowerCase();
return ua.indexOf("gecko") != -1 && ua.indexOf("webkit") == -1;
})();
/**