use JSON.stringify
This commit is contained in:
parent
0c0017bb98
commit
c5cfaa24eb
|
@ -109,5 +109,5 @@ function getStopForm(stop) {
|
|||
}
|
||||
|
||||
function isEmpty(obj) {
|
||||
return ($.toJSON(obj) == "{}")
|
||||
return (JSON.stringify(obj) == "{}")
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue
Block a user