Esanders has uploaded a new change for review.

  https://gerrit.wikimedia.org/r/172787

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

Move initialization to initialize

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


  git pull ssh://gerrit.wikimedia.org:29418/VisualEditor/VisualEditor 
refs/changes/87/172787/1

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: newchange
Gerrit-Change-Id: I98e6b8b84d258eac9a7009d6d3d63667835b87af
Gerrit-PatchSet: 1
Gerrit-Project: VisualEditor/VisualEditor
Gerrit-Branch: master
Gerrit-Owner: Esanders <[email protected]>

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

Reply via email to