Skip to content

Commit

Permalink
Cleaning up.
Browse files Browse the repository at this point in the history
  • Loading branch information
jacekbogdanski committed Sep 13, 2018
1 parent 4b27d96 commit f907b00
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 4 deletions.
3 changes: 1 addition & 2 deletions plugins/elementspath/plugin.js
Original file line number Diff line number Diff line change
Expand Up @@ -87,8 +87,7 @@
// Register the ui element to the focus manager.
editor.on( 'uiReady', function() {
var element = editor.ui.space( 'path' );
if ( element )
editor.focusManager.add( element, 1 );
element && editor.focusManager.add( element, 1 );
} );

function onClick( elementIndex ) {
Expand Down
2 changes: 1 addition & 1 deletion tests/plugins/elementspath/elementspath.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/* bender-tags: editor */
/* bender-ckeditor-plugins: elementspath, toolbar, basicstyles, wysiwygarea */
/* bender-ckeditor-plugins: elementspath, toolbar, basicstyles */
/* global elementspathTestsTools */

( function() {
Expand Down
2 changes: 1 addition & 1 deletion tests/plugins/toolbar/basic.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/* bender-tags: editor */
/* bender-ckeditor-plugins: floatingspace,toolbar,basicstyles,list,link,about,wysiwygarea,elementspath */
/* bender-ckeditor-plugins: floatingspace,toolbar,basicstyles,list,link,about,elementspath */

function testToolbarExpanded( bot ) {
var editor = bot.editor,
Expand Down

0 comments on commit f907b00

Please sign in to comment.