mirror of
https://github.com/umap-project/umap.git
synced 2025-05-01 12:32:23 +02:00
Make DataLayer.isReadOnly explicit and true by default
This commit is contained in:
parent
f752f2e13f
commit
f10924c1a0
1 changed files with 1 additions and 1 deletions
|
@ -1195,7 +1195,7 @@ L.U.DataLayer = L.Evented.extend({
|
|||
},
|
||||
|
||||
isReadOnly: function () {
|
||||
return !this.options.allowEdit
|
||||
return this.options.allowEdit === false
|
||||
},
|
||||
|
||||
save: function () {
|
||||
|
|
Loading…
Reference in a new issue