Skip to content
This repository was archived by the owner on Dec 15, 2025. It is now read-only.

Commit 5ff9beb

Browse files
committed
Merge pull request #1 from prtksxna/patch-1
Move the dropdown to the left of the navbar
2 parents df4bb15 + a4d3b29 commit 5ff9beb

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

accessibility-switch.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@ window.onpopstate = function( event ) {
3535
};
3636

3737
$( function() {
38-
var $navBar = $( 'ul.navbar-right' ),
38+
var $navBar = $( 'ul.navbar-head' ),
3939
selector = new OO.ui.DropdownWidget( {
4040
"label": mw.msg( 'accessibility-simulation' ),
4141
"menu" : { 'items' : [
@@ -70,7 +70,7 @@ $( function() {
7070
if ( 'simulation' in queryParameters )
7171
selectedSimulation = queryParameters.simulation;
7272

73-
$newItem.prependTo( $navBar );
73+
$newItem.appendTo( $navBar );
7474

7575
menu.on( 'select', function( item ) {
7676
var type = item.getData(),

0 commit comments

Comments
 (0)