summaryrefslogtreecommitdiff
path: root/details.js
diff options
context:
space:
mode:
Diffstat (limited to 'details.js')
-rw-r--r--details.js8
1 files changed, 4 insertions, 4 deletions
diff --git a/details.js b/details.js
index b6b8e0c..452d336 100644
--- a/details.js
+++ b/details.js
@@ -564,12 +564,12 @@ function sci2exp(c) {
return "list()";
}
} else if (typeof c.length === "undefined") {
- return c.toString();
+ return _check(c);
} else if (c.length == 0) {
return "[]";
- } else if (c.length == 1)
- return c.toString();
- else {
+ } else if (c.length == 1) {
+ return _check(c[0]);
+ } else {
var result = "[";
for (var i = 0; i < c.length; i++) {
if (typeof c[i].length === 'undefined') {