collapsible.js: Don't enforce `data-visible-rows` for tables and lists
This commit is contained in:
parent
2179518904
commit
74cb0ef3c9
|
@ -143,6 +143,10 @@
|
|||
* @returns {string}
|
||||
*/
|
||||
Collapsible.prototype.getRowSelector = function($collapsible) {
|
||||
if (!! $collapsible.data('visibleHeight')) {
|
||||
return '';
|
||||
}
|
||||
|
||||
if ($collapsible.is('table')) {
|
||||
return '> tbody > tr';
|
||||
} else if ($collapsible.is('ul, ol')) {
|
||||
|
|
Loading…
Reference in New Issue