X-Git-Url: https://jasonwoof.com/gitweb/?p=ckeditor.git;a=blobdiff_plain;f=_source%2Fplugins%2Ftab%2Fplugin.js;h=42255b11c4a23140e7d3c7b5f8b3c023eed24cd8;hp=f63cd5b8e07c8fe4ed94dd656197eb06ec52ab88;hb=039a051ccf3901311661022a30afd60fc38130c9;hpb=c9fdde67e6384bd5a66adc2b3bba5c4ce9db56c7 diff --git a/_source/plugins/tab/plugin.js b/_source/plugins/tab/plugin.js index f63cd5b..42255b1 100644 --- a/_source/plugins/tab/plugin.js +++ b/_source/plugins/tab/plugin.js @@ -38,8 +38,8 @@ For licensing, see LICENSE.html or http://ckeditor.com/license if ( editor.focusManager.hasFocus ) { var sel = editor.getSelection(), - ancestor = sel.getCommonAncestor(), - cell; + ancestor = sel.getCommonAncestor(), + cell; if ( ( cell = ( ancestor.getAscendant( 'td', true ) || ancestor.getAscendant( 'th', true ) ) ) ) {