}
// If the locales icon is included, it should always be placed last in the list for formatting reasons
- // Update: disabled this to allow it to be set anywhere in the list
- // var localeIconIndex;
- // if ((localeIconIndex = navOrder.indexOf('lang')) !== -1) {
- // navOrder.push(navOrder.splice(localeIconIndex, 1)[0]); // Push to end of array
- // }
+ var localeIconIndex;
+ if ((localeIconIndex = navOrder.indexOf('lang')) !== -1) {
+ navOrder.push(navOrder.splice(localeIconIndex, 1)[0]); // Push to end of array
+ }
// Backwards compatibility for old "afterSearch" setting to work with new "extra" link