diff --git a/media/src/core/core.sizing.js b/media/src/core/core.sizing.js index ebc5c075..6245a8c1 100644 --- a/media/src/core/core.sizing.js +++ b/media/src/core/core.sizing.js @@ -1,4 +1,3 @@ - /** * Convert a CSS unit width to pixels (e.g. 2em) * @param {string} sWidth width to be converted @@ -45,6 +44,7 @@ function _fnCalculateColumnWidths ( oSettings ) var i, iIndex, iCorrector, iWidth; var oHeaders = $('th', oSettings.nTHead); var widthAttr = oSettings.nTable.getAttribute('width'); + var nWrapper = oSettings.nTable.parentNode; /* Convert any user input sizes into pixel sizes */ for ( i=0 ; i