summaryrefslogtreecommitdiff
path: root/share/www
diff options
context:
space:
mode:
authorChristopher Lenz <cmlenz@apache.org>2008-08-01 21:30:23 +0000
committerChristopher Lenz <cmlenz@apache.org>2008-08-01 21:30:23 +0000
commit492a1d5b5268fafd9888cedf16172eabfc564d15 (patch)
treeec24baf2997e87de4d2cc180f567dce82b1f6609 /share/www
parent34b12e7537d8bc020023c15bde9789d3bf29e8e1 (diff)
Fix auto-expanding of view editor textareas for temp views.
git-svn-id: https://svn.apache.org/repos/asf/incubator/couchdb/trunk@681843 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'share/www')
-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 fa8abfbd..6cb26c49 100644
--- a/share/www/script/browse.js
+++ b/share/www/script/browse.js
@@ -451,7 +451,7 @@ function CouchDatabasePage() {
db.allDocs(options);
} else {
if (viewName == "_temp_view") {
- $("#viewcode").show().addClass("expanded");
+ $("#viewcode").show().removeClass("collapsed");
var mapFun = $("#viewcode_map").val();
$.cookies.set(db.name + ".map", mapFun);
var reduceFun = $("#viewcode_reduce").val() || null;