From c852eeb33fe1c69836b16b70fee8dfd79cae9401 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Michal=20Vlc=CC=8Cek?= Date: Sat, 15 Mar 2014 23:59:57 +0100 Subject: [PATCH] 11626 --- plugins/tableresize/plugin.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/plugins/tableresize/plugin.js b/plugins/tableresize/plugin.js index 877d31846c3..49c1ca00667 100644 --- a/plugins/tableresize/plugin.js +++ b/plugins/tableresize/plugin.js @@ -219,8 +219,8 @@ // Defer the resizing to avoid any interference among cells. CKEDITOR.tools.setTimeout( function( leftCell, leftOldWidth, rightCell, rightOldWidth, tableWidth, sizeShift ) { - leftCell && leftCell.setStyle( 'width', pxUnit( Math.max( leftOldWidth + sizeShift, 0 ) ) ); - rightCell && rightCell.setStyle( 'width', pxUnit( Math.max( rightOldWidth - sizeShift, 0 ) ) ); + leftCell && leftCell.setStyle( 'width', pxUnit( Math.max( leftOldWidth + sizeShift, 1 ) ) ); + rightCell && rightCell.setStyle( 'width', pxUnit( Math.max( rightOldWidth - sizeShift, 1 ) ) ); // If we're in the last cell, we need to resize the table as well if ( tableWidth )