summaryrefslogtreecommitdiff
path: root/share/www/script/browse.js
diff options
context:
space:
mode:
Diffstat (limited to 'share/www/script/browse.js')
-rw-r--r--share/www/script/browse.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/share/www/script/browse.js b/share/www/script/browse.js
index 4491246b..ec514f09 100644
--- a/share/www/script/browse.js
+++ b/share/www/script/browse.js
@@ -791,7 +791,7 @@ function CouchDocumentPage() {
.attr("href", db.uri + encodeURIComponent(docId) + "/" + encodeURIComponent(name))
.wrapInner("<tt></tt>").appendTo(li);
$("<span>()</span>").text("" + prettyPrintSize(attachment.length) +
- ", " + attachment["content-type"]).addClass("info").appendTo(li);
+ ", " + attachment.content_type).addClass("info").appendTo(li);
_initAttachmentItem(name, attachment, li);
return li;
}