Update indentation and newlines
Change-Id: Iac833df12a00949d32f2ce2fc26a657bab3d8229
This commit is contained in:
@@ -277,7 +277,7 @@
|
|||||||
var $parent = $( '#language-settings-dialog' );
|
var $parent = $( '#language-settings-dialog' );
|
||||||
// Re-position the element according to the window that called it
|
// Re-position the element according to the window that called it
|
||||||
if ( parseInt( $parent.css( 'left' ), 10 ) ) {
|
if ( parseInt( $parent.css( 'left' ), 10 ) ) {
|
||||||
this.$menu.css( 'left', $parent.css( 'left' ) );
|
this.$menu.css( 'left', $parent.css( 'left' ) );
|
||||||
}
|
}
|
||||||
if ( parseInt( $parent.css( 'top' ), 10 ) ) {
|
if ( parseInt( $parent.css( 'top' ), 10 ) ) {
|
||||||
this.$menu.css( 'top', $parent.css( 'top' ) );
|
this.$menu.css( 'top', $parent.css( 'top' ) );
|
||||||
|
|||||||
@@ -96,7 +96,6 @@
|
|||||||
return this.registry.enable;
|
return this.registry.enable;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
} );
|
} );
|
||||||
|
|
||||||
// MediaWiki specific overrides for jquery.ime
|
// MediaWiki specific overrides for jquery.ime
|
||||||
|
|||||||
@@ -355,7 +355,7 @@
|
|||||||
var $parent = $( '#language-settings-dialog' );
|
var $parent = $( '#language-settings-dialog' );
|
||||||
// Re-position the element according to the window that called it
|
// Re-position the element according to the window that called it
|
||||||
if ( parseInt( $parent.css( 'left' ), 10 ) ) {
|
if ( parseInt( $parent.css( 'left' ), 10 ) ) {
|
||||||
this.$menu.css( 'left', $parent.css( 'left' ) );
|
this.$menu.css( 'left', $parent.css( 'left' ) );
|
||||||
}
|
}
|
||||||
if ( parseInt( $parent.css( 'top' ), 10 ) ) {
|
if ( parseInt( $parent.css( 'top' ), 10 ) ) {
|
||||||
this.$menu.css( 'top', $parent.css( 'top' ) );
|
this.$menu.css( 'top', $parent.css( 'top' ) );
|
||||||
|
|||||||
Reference in New Issue
Block a user