use JSON.stringify
This commit is contained in:
parent
0c0017bb98
commit
c5cfaa24eb
1 changed files with 1 additions and 1 deletions
|
@ -109,5 +109,5 @@ function getStopForm(stop) {
|
||||||
}
|
}
|
||||||
|
|
||||||
function isEmpty(obj) {
|
function isEmpty(obj) {
|
||||||
return ($.toJSON(obj) == "{}")
|
return (JSON.stringify(obj) == "{}")
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Reference in a new issue