mirror of
https://github.com/umap-project/umap.git
synced 2025-05-01 20:42:24 +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 () {
|
isReadOnly: function () {
|
||||||
return !this.options.allowEdit
|
return this.options.allowEdit === false
|
||||||
},
|
},
|
||||||
|
|
||||||
save: function () {
|
save: function () {
|
||||||
|
|
Loading…
Reference in a new issue