[OpenLayers-Commits] r6044 - sandbox/euzuro/pop/examples

commits at openlayers.org commits at openlayers.org
Thu Feb 7 17:50:23 EST 2008


Author: euzuro
Date: 2008-02-07 17:50:23 -0500 (Thu, 07 Feb 2008)
New Revision: 6044

Modified:
   sandbox/euzuro/pop/examples/framedPopups.html
Log:
do the if statement correctly

Modified: sandbox/euzuro/pop/examples/framedPopups.html
===================================================================
--- sandbox/euzuro/pop/examples/framedPopups.html	2008-02-07 22:47:32 UTC (rev 6043)
+++ sandbox/euzuro/pop/examples/framedPopups.html	2008-02-07 22:50:23 UTC (rev 6044)
@@ -53,7 +53,7 @@
         function mousedown(evt) {
              // check to see if the popup was hidden by the close box
              // if so, then destroy it before continuing
-            if (popup != null) && (!popup.visible()) {
+            if ((popup != null) && (!popup.visible())) {
 				removePopup();
             }
 



More information about the Commits mailing list