Updated comment
This commit is contained in:
parent
30bb0417d5
commit
9c1bab29f1
@ -26,7 +26,7 @@ api.post = function(fn, params, callback) {
|
|||||||
return false
|
return false
|
||||||
}
|
}
|
||||||
|
|
||||||
// Convert 1 to true and an empty string to false
|
// Convert true and false to real booleans
|
||||||
if (data==='true') data = true
|
if (data==='true') data = true
|
||||||
else if (data==='false') data = false
|
else if (data==='false') data = false
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user