Selaa lähdekoodia

Docs: Set navigation direction to rtl when language is ar.

Mr.doob 5 vuotta sitten
vanhempi
commit
81bdccaa4a
1 muutettua tiedostoa jossa 6 lisäystä ja 0 poistoa
  1. 6 0
      docs/index.html

+ 6 - 0
docs/index.html

@@ -204,6 +204,12 @@
 				navigation = document.createElement( 'div' );
 				content.appendChild( navigation );
 
+				if ( language === 'ar' ) {
+
+					navigation.style.direction = 'rtl';
+
+				}
+
 				var localList = list[ language ];
 
 				for ( var section in localList ) {