OpenLayers OpenLayers

Ticket #906: drag.patch

File drag.patch, 0.5 kB (added by bartvde, 1 year ago)
  • Drag.js

    old new  
    7777            this.dragging = true; 
    7878            this.callback("move", [evt.xy]); 
    7979            if(!this.oldOnselectstart) { 
    80                 this.oldOnselectstart = document.onselectstart
     80                this.oldOnselectstart = (document.onselectstart) ? document.onselectstart : function() { return true; }
    8181                document.onselectstart = function() {return false;} 
    8282            } 
    8383        }