Changeset 1423
- Timestamp:
- 09/08/06 17:31:42 (2 years ago)
- Files:
-
- trunk/openlayers/lib/OpenLayers/Events.js (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
- Modified
- Copied
- Moved
trunk/openlayers/lib/OpenLayers/Events.js
r1408 r1423 2 2 * See http://svn.openlayers.org/trunk/openlayers/license.txt for the full 3 3 * text of the license. */ 4 4 5 5 /** 6 6 * @class … … 160 160 // execute all callbacks registered for specified type 161 161 var listeners = this.listeners[type]; 162 if ( listeners != null) {162 if ((listeners != null) && (listeners.length > 0)) { 163 163 for (var i = 0; i < listeners.length; i++) { 164 164 var callback = listeners[i];
