document.addEventListener('DOMContentLoaded', function() {
var spanElement = document.querySelector('li#menu-item-277 a');
// Check if the element exists to avoid errors
if (spanElement) {
// Set the aria-hidden attribute to true
spanElement.setAttribute('aria-hidden', 'true');
spanElement.setAttribute('tabindex', '-1');
spanElement.setAttribute('aria-disabled', 'true');
}
// Select the element with the class "lang-label" inside the li with id "menu-item-277"
var smallElement = document.querySelector('li#menu-item-277 .lang-label');
// Check if the element exists to avoid errors
if (smallElement) {
// Set the aria-hidden attribute to true
smallElement.setAttribute('aria-hidden', 'true');
smallElement.setAttribute('tabindex', '-1');
smallElement.setAttribute('aria-disabled', 'true');
}
// Select the element with the class "lang-label" inside the li with id "menu-item-277"
var smallElement1 = document.querySelector('li#menu-item-349 a');
// Check if the element exists to avoid errors
if (smallElement1) {
// Set the aria-hidden attribute to true
smallElement1.setAttribute('aria-hidden', 'true');
smallElement1.setAttribute('tabindex', '-1');
smallElement1.setAttribute('aria-disabled', 'true');
}
// Select the element with the class "lang-label" inside the li with id "menu-item-277"
var smallElement2 = document.querySelector('li#menu-item-349 .lang-label');
// Check if the element exists to avoid errors
if (smallElement2) {
// Set the aria-hidden attribute to true
smallElement2.setAttribute('aria-hidden', 'true');
smallElement2.setAttribute('tabindex', '-1');
smallElement2.setAttribute('aria-disabled', 'true');
}
});