From 72de6c7633e56207b8ee4bf10f155ed06fc39ef4 Mon Sep 17 00:00:00 2001 From: Christopher Lenz Date: Thu, 10 Dec 2009 16:03:43 +0000 Subject: Futon: Fix toggling of reduce checkbox on database page. git-svn-id: https://svn.apache.org/repos/asf/couchdb/trunk@889307 13f79535-47bb-0310-9956-ffa450edef68 --- share/www/script/futon.browse.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'share/www/script') diff --git a/share/www/script/futon.browse.js b/share/www/script/futon.browse.js index 0c85a909..76084d64 100644 --- a/share/www/script/futon.browse.js +++ b/share/www/script/futon.browse.js @@ -350,7 +350,7 @@ mapFun.split("\n").length, reduceFun.split("\n").length ); - $("#reduce").toggle(reduceFun != null); + $("#reduce").toggle(!!reduceFun); $("#viewcode textarea").attr("rows", Math.min(15, Math.max(3, lines))); } -- cgit v1.2.3