Skip to content

Commit

Permalink
[BUILD]
Browse files Browse the repository at this point in the history
  • Loading branch information
Viglino committed Aug 12, 2024
1 parent 109947e commit 415780b
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 3 deletions.
5 changes: 3 additions & 2 deletions dist/ol-ext.js
Original file line number Diff line number Diff line change
Expand Up @@ -31118,10 +31118,11 @@ ol.interaction.UndoRedo = class olinteractionUndoRedo extends ol.interaction.Int
var self = this
// Ges vector layers
function getVectorLayers(layers, init) {
if (!init)
if (!init) {
init = []
}
layers.forEach(function (l) {
if (l.getSource() instanceof ol.source.Vector) {
if (l.getSource && l.getSource() instanceof ol.source.Vector) {
if (!self._layers || self._layers.indexOf(l) >= 0) {
init.push(l)
}
Expand Down
2 changes: 1 addition & 1 deletion dist/ol-ext.min.js

Large diffs are not rendered by default.

0 comments on commit 415780b

Please sign in to comment.