diff options
Diffstat (limited to 'share/www/script')
-rw-r--r-- | share/www/script/futon.browse.js | 2 |
1 files changed, 1 insertions, 1 deletions
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))); } |