Skip to content

Commit 92a1213

Browse files
committed
Fix issue with draggable option when re-enabling map events. Fixes #26
1 parent 18a7523 commit 92a1213

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

index.js

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

src/field/Locator.vue

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -418,7 +418,7 @@ export default {
418418
this.map.keyboard.enable()
419419
if (this.map.tap) this.map.tap.enable()
420420
}
421-
if(this.marker) this.marker.dragging.enable()
421+
if(this.marker && this.draggable) this.marker.dragging.enable()
422422
}
423423
},
424424
};

0 commit comments

Comments
 (0)