forked from 0x2620/oxjs
minor changes
This commit is contained in:
parent
2bf92c982a
commit
1bf1eae034
5 changed files with 25 additions and 16 deletions
|
|
@ -46,7 +46,11 @@ Ox.MapRectangle = function(options, self) {
|
|||
setOptions();
|
||||
|
||||
function click() {
|
||||
if (that.map.options('editable') && that.place.editable && !that.place.editing) {
|
||||
if (
|
||||
that.map.options('editable')
|
||||
&& that.place.editable
|
||||
&& !that.place.editing
|
||||
) {
|
||||
that.place.edit();
|
||||
} else if (that.map.getKey() == 'meta') {
|
||||
that.place.submit();
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue