Skip .tooltip as cell children when resizing container

This commit is contained in:
Cédric Krier committed 2015-10-25 00:54:27 +02:00
1 parent 02b6eb127c
commit 21e85b170d
1 file changed
+3 -2
+3 -2
View File
@@ -1966,7 +1966,7 @@
var colspan = Math.min(Number(cell.attr('colspan')), col);
if (cell.hasClass('xexpand') &&
(!jQuery.isEmptyObject(cell.children())) &&
(cell.children().css('display') != 'none')) {
(cell.children(':not(.tooltip)').css('display') != 'none')) {
xexpands.push([cell, i]);
}
i += colspan;
@@ -2028,7 +2028,8 @@
var cell = jQuery(this);
var colspan = Math.min(Number(cell.attr('colspan')), col);
if (cell.hasClass('xexpand') &&
(cell.children().css('display') != 'none')) {
(cell.children(':not(.tooltip)').css('display') !=
'none')) {
var width = 0;
for (j = 0; j < colspan; j++) {
width += widths[i + j] || 0;