Move opt_useCapture arg to the end of the list
This commit is contained in:
committed by
Andreas Hocevar
parent
dc0393acff
commit
80df1f5ae8
@@ -152,10 +152,10 @@ ol.interaction.DragAndDrop.prototype.setMap = function(map) {
|
||||
var dropArea = map.getViewport();
|
||||
this.dropListenKeys_ = [
|
||||
ol.events.listen(dropArea, ol.events.EventType.DROP,
|
||||
ol.interaction.DragAndDrop.handleDrop_, false, this),
|
||||
ol.interaction.DragAndDrop.handleDrop_, this),
|
||||
ol.events.listen(dropArea, [ol.events.EventType.DRAGENTER,
|
||||
ol.events.EventType.DRAGOVER, ol.events.EventType.DROP],
|
||||
ol.interaction.DragAndDrop.handleStop_, false, this)
|
||||
ol.interaction.DragAndDrop.handleStop_, this)
|
||||
]
|
||||
}
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user