summaryrefslogtreecommitdiff
path: root/share
diff options
context:
space:
mode:
Diffstat (limited to 'share')
-rw-r--r--share/www/script/futon.browse.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/share/www/script/futon.browse.js b/share/www/script/futon.browse.js
index a101138f..9bf01752 100644
--- a/share/www/script/futon.browse.js
+++ b/share/www/script/futon.browse.js
@@ -755,7 +755,7 @@
db.openDoc(docId, {revs_info: true,
success: function(doc) {
- var revs = doc._revs_info;
+ var revs = doc._revs_info || [];
delete doc._revs_info;
if (docRev != null) {
db.openDoc(docId, {rev: docRev,