From 38652a76861798160c36b4bfb20374f7c1cce6ab Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Fr=C3=A9d=C3=A9ric=20Junod?= Date: Tue, 27 Nov 2007 10:05:18 +0000 Subject: [PATCH] Change Util.alphaHack to return 'False' not 'undefined' as defined by the API. (Closes #1169) git-svn-id: http://svn.openlayers.org/trunk/openlayers@5283 dc9f47b5-9b13-0410-9fdd-eb0c1a62fdaf --- lib/OpenLayers/Util.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/OpenLayers/Util.js b/lib/OpenLayers/Util.js index 6fd439e561..fa6847470d 100644 --- a/lib/OpenLayers/Util.js +++ b/lib/OpenLayers/Util.js @@ -373,7 +373,7 @@ OpenLayers.Util.alphaHack = function() { // continue. try { - filter = document.body.filters; + filter = !!(document.body.filters); } catch (e) { }