From cd4fbf700c0cd4ec7dae9b5928c38b62f0b1dcb0 Mon Sep 17 00:00:00 2001 From: Demian Katz <demian.katz@villanova.edu> Date: Wed, 26 Aug 2015 13:47:56 -0400 Subject: [PATCH] Less confusing syntax. --- themes/bootstrap3/js/collection_record.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/themes/bootstrap3/js/collection_record.js b/themes/bootstrap3/js/collection_record.js index 560dbcedaad..9574b6f9c7b 100644 --- a/themes/bootstrap3/js/collection_record.js +++ b/themes/bootstrap3/js/collection_record.js @@ -4,7 +4,7 @@ function toggleCollectionInfo() { function showMoreInfoToggle() { // no rows in table? don't bother! - if (!$("#collectionInfo").find('tr').length > 0) { + if ($("#collectionInfo").find('tr').length < 1) { return; } toggleCollectionInfo(); -- GitLab