Преглед на файлове

Removed obsolete View#addChildren() calls from LabeledInputView class.

Aleksander Nowodzinski преди 9 години
родител
ревизия
018d8c1025
променени са 1 файла, в които са добавени 2 реда и са изтрити 2 реда
  1. 2 2
      packages/ckeditor5-ui/src/labeledinput/labeledinputview.js

+ 2 - 2
packages/ckeditor5-ui/src/labeledinput/labeledinputview.js

@@ -51,14 +51,14 @@ export default class LabeledInputView extends View {
 		 *
 		 * @member {module:ui/label/labelview~LabelView} #labelView
 		 */
-		this.addChildren( this.labelView = this._createLabelView( id ) );
+		this.labelView = this._createLabelView( id );
 
 		/**
 		 * The input view.
 		 *
 		 * @member {module:ui/view~View} #inputView
 		 */
-		this.addChildren( this.inputView = this._createInputView( InputView, id ) );
+		this.inputView = this._createInputView( InputView, id );
 
 		this.template = new Template( {
 			tag: 'div',