'supported' is defined, API-wise, to return 'false' if not supported, but the
VML test returns 'undefined' instead. Fix that with this patch from fredj. (Closes #1165) git-svn-id: http://svn.openlayers.org/trunk/openlayers@5237 dc9f47b5-9b13-0410-9fdd-eb0c1a62fdaf
This commit is contained in:
@@ -61,8 +61,7 @@ OpenLayers.Renderer.VML = OpenLayers.Class(OpenLayers.Renderer.Elements, {
|
||||
* {Boolean} The browser supports the VML renderer
|
||||
*/
|
||||
supported: function() {
|
||||
var supported = document.namespaces;
|
||||
return supported;
|
||||
return !!(document.namespaces);
|
||||
},
|
||||
|
||||
/**
|
||||
|
||||
Reference in New Issue
Block a user