diff --git a/selectableModify.js b/selectableModify.js index 8bf3bc1..073ad11 100644 --- a/selectableModify.js +++ b/selectableModify.js @@ -77,6 +77,8 @@ ol.inherits(ol.interaction.SelectableModify, ol.interaction.Modify); + ol.interaction.SelectableModify.prototype = Object.create(ol.interaction.Modify.prototype); + ol.interaction.SelectableModify.constructor = ol.interaction.SelectableModify; ol.interaction.SelectableModify.prototype.setActive = function (active) { this.select_.setActive(active);