Render booleans as empty strings
This commit is contained in:
parent
8ee75924c8
commit
c98f663653
3 changed files with 38 additions and 2 deletions
|
|
@ -188,7 +188,7 @@
|
|||
// value of Console.log in some versions of Firefox (behavior depends on
|
||||
// version)
|
||||
try {
|
||||
if (data != null && data.toString() != null) return data
|
||||
if (typeof data !== "boolean" && data != null && data.toString() != null) return data
|
||||
} catch (e) {
|
||||
// silently ignore errors
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue