mirror of
https://github.com/Icinga/icingaweb2.git
synced 2025-07-27 07:44:04 +02:00
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…
x
Reference in New Issue
Block a user