about summary refs log tree commit diff
diff options
context:
space:
mode:
-rw-r--r--wqflask/wqflask/templates/search_result_page.html2
1 files changed, 2 insertions, 0 deletions
diff --git a/wqflask/wqflask/templates/search_result_page.html b/wqflask/wqflask/templates/search_result_page.html
index 00b708ef..3e4928df 100644
--- a/wqflask/wqflask/templates/search_result_page.html
+++ b/wqflask/wqflask/templates/search_result_page.html
@@ -435,7 +435,9 @@
                 "bSortClasses": false,
                 "scrollY": "500px",
                 "scrollCollapse": true,
+                {% if trait_list|length > 5 %}
                 "scroller":  true,
+                {% endif %}
                 "iDisplayLength": -1,
                 "initComplete": function (settings) {
                   //Add JQueryUI resizable functionality to each th in the ScrollHead table