X-Git-Url: https://jasonwoof.com/gitweb/?a=blobdiff_plain;f=_source%2Fplugins%2Fenterkey%2Fplugin.js;h=14db3da69a3e5895140f9a1a74cebdf6a8d24a18;hb=8f6c203fdaa543c3bca40baea6ae4ddcdf1a77f5;hp=4114516e21f6728705f52569752ce9115d9df07f;hpb=614511639979907ceb0da3614122a4d8eb963ad4;p=ckeditor.git diff --git a/_source/plugins/enterkey/plugin.js b/_source/plugins/enterkey/plugin.js index 4114516..14db3da 100644 --- a/_source/plugins/enterkey/plugin.js +++ b/_source/plugins/enterkey/plugin.js @@ -1,5 +1,5 @@ /* -Copyright (c) 2003-2010, CKSource - Frederico Knabben. All rights reserved. +Copyright (c) 2003-2011, CKSource - Frederico Knabben. All rights reserved. For licensing, see LICENSE.html or http://ckeditor.com/license */ @@ -230,7 +230,7 @@ For licensing, see LICENSE.html or http://ckeditor.com/license var newBlock, newBlockDir; - if ( newBlockDir = startBlock.getDirection() ) + if ( ( newBlockDir = startBlock.getDirection() ) ) { newBlock = doc.createElement( 'div' ); newBlock.setAttribute( 'dir', newBlockDir );