mirror of
https://github.com/Icinga/icingaweb2.git
synced 2025-07-27 15:54:03 +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}
|
* @returns {string}
|
||||||
*/
|
*/
|
||||||
Collapsible.prototype.getRowSelector = function($collapsible) {
|
Collapsible.prototype.getRowSelector = function($collapsible) {
|
||||||
|
if (!! $collapsible.data('visibleHeight')) {
|
||||||
|
return '';
|
||||||
|
}
|
||||||
|
|
||||||
if ($collapsible.is('table')) {
|
if ($collapsible.is('table')) {
|
||||||
return '> tbody > tr';
|
return '> tbody > tr';
|
||||||
} else if ($collapsible.is('ul, ol')) {
|
} else if ($collapsible.is('ul, ol')) {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user