From 21e85b170d5b6e138512edbd67ff46fad67293f4 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?C=C3=A9dric=20Krier?= Date: Sun, 25 Oct 2015 00:54:27 +0200 Subject: [PATCH] Skip .tooltip as cell children when resizing container --- src/view.js | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/src/view.js b/src/view.js index 476278f99a..45ba803d11 100644 --- a/src/view.js +++ b/src/view.js @@ -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;