Skip to content

Commit

Permalink
Merge branch 't/9798'
Browse files Browse the repository at this point in the history
  • Loading branch information
Reinmar committed Dec 11, 2012
2 parents 1e093a0 + dae1ef6 commit 0996fbe
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion plugins/menu/plugin.js
Original file line number Diff line number Diff line change
Expand Up @@ -344,7 +344,7 @@ CKEDITOR.plugins.add( 'menu', {

// Apply the editor mixed direction status to menu.
var path = editor.elementPath(),
mixedDirCls = path.direction() != editor.lang.dir ? ' cke_mixed_dir_content' : '';
mixedDirCls = ( path && path.direction() != editor.lang.dir ) ? ' cke_mixed_dir_content' : '';

// Build the HTML that composes the menu and its items.
var output = [ '<div class="cke_menu' + mixedDirCls + '" role="presentation">' ];
Expand Down

0 comments on commit 0996fbe

Please sign in to comment.