OpenLayers OpenLayers

Changeset 3823

Show
Ignore:
Timestamp:
07/30/07 11:26:41 (1 year ago)
Author:
euzuro
Message:

fix for #870 - missing 'var' statement inserted

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • trunk/openlayers/lib/OpenLayers/Layer/Text.js

    r3814 r3823  
    160160     */ 
    161161    markerClick: function(evt) { 
    162         sameMarkerClicked = (this == this.layer.selectedFeature); 
     162        var sameMarkerClicked = (this == this.layer.selectedFeature); 
    163163        this.layer.selectedFeature = (!sameMarkerClicked) ? this : null; 
    164164        for(var i=0; i < this.layer.map.popups.length; i++) {