jenkins-bot has submitted this change and it was merged.

Change subject: Move FragmentInspector initialization to initialize
......................................................................


Move FragmentInspector initialization to initialize

Change-Id: I98e6b8b84d258eac9a7009d6d3d63667835b87af
---
M src/ui/inspectors/ve.ui.FragmentInspector.js
1 file changed, 1 insertion(+), 3 deletions(-)

Approvals:
  Catrope: Looks good to me, approved
  jenkins-bot: Verified



diff --git a/src/ui/inspectors/ve.ui.FragmentInspector.js 
b/src/ui/inspectors/ve.ui.FragmentInspector.js
index 67f10b9..5110783 100644
--- a/src/ui/inspectors/ve.ui.FragmentInspector.js
+++ b/src/ui/inspectors/ve.ui.FragmentInspector.js
@@ -19,9 +19,6 @@
 
        // Properties
        this.fragment = null;
-
-       // Initialization
-       this.$element.addClass( 've-ui-fragmentInspector' );
 };
 
 /* Inheritance */
@@ -78,6 +75,7 @@
        this.form.connect( this, { submit: 'onFormSubmit' } );
 
        // Initialization
+       this.$element.addClass( 've-ui-fragmentInspector' );
        this.$content.addClass( 've-ui-fragmentInspector-content' );
        this.container.$element.append( this.form.$element, this.$otherActions 
);
        this.$body.append( this.container.$element );

-- 
To view, visit https://gerrit.wikimedia.org/r/172787
To unsubscribe, visit https://gerrit.wikimedia.org/r/settings

Gerrit-MessageType: merged
Gerrit-Change-Id: I98e6b8b84d258eac9a7009d6d3d63667835b87af
Gerrit-PatchSet: 2
Gerrit-Project: VisualEditor/VisualEditor
Gerrit-Branch: master
Gerrit-Owner: Esanders <[email protected]>
Gerrit-Reviewer: Catrope <[email protected]>
Gerrit-Reviewer: jenkins-bot <>

_______________________________________________
MediaWiki-commits mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits

Reply via email to