Make DataLayer.isReadOnly explicit and true by default
This commit is contained in:
parent
3d2e62c858
commit
76239ef55c
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