JasonWoof Got questions, comments, patches, etc.? Contact Jason Woofenden
vanilla ckeditor-3.5
[ckeditor.git] / _source / plugins / enterkey / plugin.js
index 4114516..5af03c3 100644 (file)
@@ -230,7 +230,7 @@ For licensing, see LICENSE.html or http://ckeditor.com/license
                                var newBlock,\r
                                        newBlockDir;\r
 \r
-                               if ( newBlockDir = startBlock.getDirection() )\r
+                               if ( ( newBlockDir = startBlock.getDirection() ) )\r
                                {\r
                                        newBlock = doc.createElement( 'div' );\r
                                        newBlock.setAttribute( 'dir', newBlockDir );\r