8
0
Просмотр исходного кода

Changed: Moved `return` statement above private functions.

Szymon Cofalik 8 лет назад
Родитель
Сommit
09a5248170
1 измененных файлов с 2 добавлено и 2 удалено
  1. 2 2
      packages/ckeditor5-list/src/converters.js

+ 2 - 2
packages/ckeditor5-list/src/converters.js

@@ -631,6 +631,8 @@ export function modelChangePostFixer( model, writer ) {
 		_fixListTypes( listHead );
 	}
 
+	return applied;
+
 	function _addListToFix( position ) {
 		const prev = position.nodeBefore;
 
@@ -659,8 +661,6 @@ export function modelChangePostFixer( model, writer ) {
 		}
 	}
 
-	return applied;
-
 	function _fixListIndents( item ) {
 		let maxIndent = 0;
 		let fixBy = null;