diff --git a/lib/OpenLayers/Popup.js b/lib/OpenLayers/Popup.js index 8012e74a8a..ffd074e691 100644 --- a/lib/OpenLayers/Popup.js +++ b/lib/OpenLayers/Popup.js @@ -153,7 +153,7 @@ OpenLayers.Popup = OpenLayers.Class({ this.groupDiv.appendChild(this.contentDiv); this.div.appendChild(this.groupDiv); - if (closeBox == true) { + if (closeBox) { // close icon var closeSize = new OpenLayers.Size(17,17); var img = OpenLayers.Util.getImagesLocation() + "close.gif";