OpenLayers OpenLayers

Ticket #880: event_stop.patch

File event_stop.patch, 438 bytes (added by crschmidt, 1 year ago)
  • lib/OpenLayers/Events.js

    old new  
    326326 
    327327// FIXME: Remove this in 3.0. In 3.0, Event.stop will no longer be provided 
    328328// by OpenLayers. 
    329 if (!window.Event) { 
    330   var Event = OpenLayers.Event
     329if (!window.Event.stop) { 
     330  Event.stop = OpenLayers.Event.stop
    331331} 
    332332 
    333333/**