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

Commit 9fa7404

Browse files
committed
Merge pull request #3 from prtksxna/extraspaec
Append the the dropdown before the #extra-space <div>
2 parents 3074993 + 01edba1 commit 9fa7404

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-head' ),
38+
var $extraSpace = $( '#extra-space' ),
3939
$dropdown = $( '<ul>' )
4040
.attr( {
4141
'role': 'menu',
@@ -82,7 +82,7 @@ $( function() {
8282
if ( 'simulation' in queryParameters )
8383
selectedSimulation = queryParameters.simulation;
8484

85-
$navBar.append( $( '<li>' )
85+
$extraSpace.before( $( '<li>' )
8686
.addClass( 'dropdown' )
8787
.append( $dropdownButton, $dropdown )
8888
);

0 commit comments

Comments
 (0)