diff --git a/themes/bootstrap3/js/collection_record.js b/themes/bootstrap3/js/collection_record.js index 560dbcedaadfeb146f70aab7fcc5bcb68ccf73b3..9574b6f9c7be0bb9ed70952d4ffe6c444e3381ff 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();