Connect with us

New Mexico

The contest in one New Mexico swing district mirrors a larger, anxious electorate

Published

on

The contest in one New Mexico swing district mirrors a larger, anxious electorate


ALBUQUERQUE, N.M. — On a warm Albuquerque evening with the majestic Sandia Mountains in the distance, New Mexico Democratic Congressman Gabe Vasquez is rallying supporters with a chant.

They’re using a common Spanish refrain this time of year: “Si, se puede,” which translates to “yes we can.”

The supporters were celebrating the launch of Vasquez’s new Albuquerque campaign office. Harley motorcycle riders, military veterans, state politicians and retirees all gathered from different corners of this large district in southern New Mexico, where two of the biggest issues in this election — immigration and abortion rights — are at the heart of a tightly-contested U.S. House race.

Democrats and Republicans both think they can win the state’s Second Congressional District — one of the swingiest districts in the country. However, the outcome is anyone’s guess for this largely rural corner of the state that has flipped red to blue and back again for more than 50 years.

Advertisement

Vasquez’s supporters believe the freshman congressman will be re-elected easily, even as he’s facing a tough rematch. Vasquez beat former Republican Congresswoman Yvette Herrell by only 1,350 votes in 2022.

“The momentum is behind him. He’s done an incredible job,” said state Sen. Antonio “Moe” Maestas.

“I think he’s probably got a better job this time,” said Karin Kalodimos, a new resident to the district from Nashville.

“As you can tell by the turnout, people are energized,” said state Rep. Art De la Cruz.

The Second Congressional District stretches from Albuquerque to the state’s borders with Mexico and Texas. Vasquez likes to remind supporters the 2nd is larger than the state of Pennsylvania.

Advertisement

In an interview with NPR following a recent tour of Albuquerque’s Real Time Crime Center, Vasquez said he is also bullish about his chances.

“We have worked our butts off to make sure that the people of this district are represented,” he said. “I know that there’s a lot of national turmoil. But in New Mexico, politics truly are local and in the second district I have shown up for people. I think that’s going to come out in the election results.”

A focus on crime and the border

Justin Hamel / AFP via Getty Images

/

Advertisement

AFP via Getty Images

Yvette Herrell addresses the press during a visit to El Paso, Texas on March 15, 2021. Herrell is fighting to win back the congressional seat she lost to Rep. Gabe Vasquez in 2022.

Three hours south of Albuquerque at a sports bar in Las Cruces, N.M., Herrell is meeting with Republican supporters

She argues she’s poised to avenge her loss against Vasquez since the issues are on her side.

“They want a secure border. They want a better economy. You know, they want safe neighborhoods. They want a good education for their children,” Herrell told NPR about voters in the community. “It always seems to be coalescing around those issues in the Second Congressional District.”

Herrell is hitting Vasquez on crime and border issues — after all, Albuquerque and Las Cruces boast some of the highest crime rates in the country.

Advertisement

And supporters like Rebecca Dow, who is running for the New Mexico state House, says border issues hit different here.

“I know people say every community and every city is a border community now, but we’ve been living this, we’ve been living it,” she said.

That’s why Republicans angling to keep control of the U.S. House say this seat is among the top dozen races to flip this cycle.

Still, Herrell’s supporters concede there’s some headwinds, including Democratic redistricting in 2021 that shifted the district more blue.

Republicans are also hitting Vasquez on past controversies — including an arrest two decades ago for outstanding traffic tickets before his time in public office.

Advertisement

“Yvette Herrell can run on my traffic tickets and I will run on my record,” he said.

Democrats are talking about abortion to blunt GOP attacks

It marks one of many bitter turns in this fight

And while Republicans think they have the upper hand on the issues, Democrats are outraising and outspending Herrell dramatically.

They’ve also leaned into crime and border issues, while simultaneously blunting Republican attacks with their own on access to abortion.

“When you are very poor state and you’ve got people living 200-plus miles from a hospital or a health care provider, it’s hard,” Gov. Michelle Lujan Grisham said following a recent event with Vasquez.

Advertisement

They joined other state and local officials for the groundbreaking of a new reproductive health clinic

Supporters argue the new facility could be a major lifeline for women in this state and beyond.

It’s all part of what makes this a critical race in what Lujan Grisham concedes are challenging political times.

“People are anxious and frustrated and angry at elected officials for a number of valid reasons,” she said. “You know, it’s hard out there.”

Copyright 2024 NPR

Advertisement



Source link

New Mexico

Rain and thunderstorm chances increase across New Mexico Friday

Published

on

Rain and thunderstorm chances increase across New Mexico Friday


Grant’s Thursday Evening Forecast

Showers and storms will become more widespread across New Mexico Friday afternoon and continue into Saturday. Windy weather will then return Sunday and early next week.

Upper-level moisture is increasing across New Mexico Thursday, leading to a few isolated showers and thunderstorms. Unfortunately, the air near the ground is still very dry, so much of that rain is evaporating before it reaches the surface. That is also creating some locally gusty winds. Thursday has been even hotter statewide, with more of New Mexico climbing into the upper 70s and 80s.

Advertisement

The isolated showers showing up on radar will fade overnight, but cloud cover will continue to increase. Better low-level moisture will move into New Mexico tonight and Friday, helping produce more showers and thunderstorms by Friday afternoon. With that increase in moisture, more rain will make it to the ground Friday afternoon and evening. A couple of storms could become strong in far eastern New Mexico. Rain chances in the Albuquerque Metro will increase after 3 p.m. High temperatures will stay very warm to hot across the state.

Rain will continue overnight into early Saturday morning in parts of New Mexico. That broader area of rain will weaken through Saturday morning, with a few isolated showers and thunderstorms lingering into midday. Areas that miss out on overnight rain will have a better chance of seeing storms Saturday afternoon. A few storms could become strong to severe in eastern New Mexico, with gusty winds and small hail as the main threats. Temperatures will be cooler Saturday afternoon.

Drier air moves in Sunday, leaving just a couple of showers possible in northwest and northern New Mexico. Winds will start to increase Sunday afternoon, with the strongest winds expected Monday. Southwest wind gusts Monday afternoon could reach 45 to 55 mph. Rain chances will return to western, central, and northern New Mexico Monday into Tuesday as a strong Pacific cold front sweeps across the state. Cooler temperatures will follow Tuesday afternoon. Warmer, drier, and calmer weather returns later next week.



Source link

Advertisement
Continue Reading

New Mexico

Domino’s top franchisee got his start in southeast New Mexico – Carlsbad Current-Argus

Published

on

Domino’s top franchisee got his start in southeast New Mexico – Carlsbad Current-Argus


Staff reports Brian Bailey owns more Domino’s franchise stores than anyone else. And he got his start delivering the pies in southeast New Mexico. He…



Source link

Continue Reading

New Mexico

NM Department of Wildlife warns of aggressive wildlife behavior

Published

on

NM Department of Wildlife warns of aggressive wildlife behavior


The New Mexico Department of Wildlife is now urging outdoor recreationists to use caution after two separate incidents involving unusually aggressive wildlife took place in Catron County.

Advertisement

NM Department of Wildlife warns of aggressive wildlife behavior

The New Mexico Department of Wildlife is now urging outdoor recreationists to use caution after two separate incidents involving unusually aggressive wildlife took place in Catron County.

Advertisement

CHARGES, INCLUDING MURDER. HIS TRIAL DATE IS NOT YET SET. THE DEPARTMENT OF WILDLIFE IS URGING EVERYONE TO STAY ALERT AFTER TWO CASES OF AGGRESSIVE WILDLIFE IN THE GILA WILDERNESS IN CATRON COUNTY. A BOBCAT AND FOX APPROACHED AND ENGAGED WITH PEOPLE IN SEPARATE ENCOUNTERS. THEY WEREN’T BITTEN, BUT THAT BEHAVIOR RAISES SUSPICION OF RABIES. A BOBCAT JUST TESTED POSITIVE FOR THAT IN SIERRA COUNTY. STATE WILDLIFE AND HEALTH OFFICIALS SAY PEOPLE SHOULD AVOID WILD ANIMALS, KEEP PETS LEASHED AND GET THEIR RABIES SHOT

Advertisement

NM Department of Wildlife warns of aggressive wildlife behavior

The New Mexico Department of Wildlife is now urging outdoor recreationists to use caution after two separate incidents involving unusually aggressive wildlife took place in Catron County.

Updated: 6:42 PM MDT Apr 8, 2026

Advertisement

Editorial Standards

The New Mexico Department of Wildlife is now urging outdoor recreationists to use caution after two separate incidents involving unusually aggressive wildlife took place in Catron County. According to the department, in different incidents, a bobcat and a fox approached and engaged with hikers and campers within the Gila Wilderness. Though nobody was bitten, these reports raise suspicion of rabies infections and come after a bobcat tested positive for rabies in Sierra County in March.They say rabies has been diagnosed in both bobcats and foxes in New Mexico. If you see a rabid animal, you should report it to your local animal control officer or your local New Mexico Department of Wildlife Conservation officer.The department says to keep you and your family safe from rabies:Always keep pets on a leash. Pets should be up to date on rabies vaccinations and wearing current license tags on their collar. If your cat or dog has been bitten or scratched, especially by a wild animal, call your pet’s veterinarian even if the wound is superficial.Horses and other livestock should also be considered for rabies vaccination to protect them from rabid animals that may attack them.Stay away from wild or unfamiliar animals. Do not attempt to feed, approach or touch wild animals (alive or dead). Teach this important message to your children and always keep a close eye on your children.If you or someone you know is bitten by an animal or comes into contact with an animal’s saliva, wash the exposed site immediately with soap and water. Be sure to report the bite to local animal control and seek medical care as soon as possible.If you or your pets are bitten or otherwise exposed to the saliva of wild animals, seek medical care immediately and contact the NMDOH Helpline at 833-SWNURSE (796-8773).

The New Mexico Department of Wildlife is now urging outdoor recreationists to use caution after two separate incidents involving unusually aggressive wildlife took place in Catron County.

Advertisement

According to the department, in different incidents, a bobcat and a fox approached and engaged with hikers and campers within the Gila Wilderness. Though nobody was bitten, these reports raise suspicion of rabies infections and come after a bobcat tested positive for rabies in Sierra County in March.

They say rabies has been diagnosed in both bobcats and foxes in New Mexico. If you see a rabid animal, you should report it to your local animal control officer or your local New Mexico Department of Wildlife Conservation officer.

The department says to keep you and your family safe from rabies:

Advertisement
  • Always keep pets on a leash. Pets should be up to date on rabies vaccinations and wearing current license tags on their collar. If your cat or dog has been bitten or scratched, especially by a wild animal, call your pet’s veterinarian even if the wound is superficial.
  • Horses and other livestock should also be considered for rabies vaccination to protect them from rabid animals that may attack them.
  • Stay away from wild or unfamiliar animals. Do not attempt to feed, approach or touch wild animals (alive or dead). Teach this important message to your children and always keep a close eye on your children.
  • If you or someone you know is bitten by an animal or comes into contact with an animal’s saliva, wash the exposed site immediately with soap and water. Be sure to report the bite to local animal control and seek medical care as soon as possible.
  • If you or your pets are bitten or otherwise exposed to the saliva of wild animals, seek medical care immediately and contact the NMDOH Helpline at 833-SWNURSE (796-8773).

`;
}

function refreshWeatherIframe(containerId) {
var iframeId = ‘weather-iframe-‘ + containerId;
var iframe = document.getElementById(iframeId);
if (iframe && iframe.src) {
var originalSrc = iframe.src;
iframe.src = originalSrc + (originalSrc.indexOf(‘?’) > -1 ? ‘&’ : ‘?’) + ‘t=” + Date.now();
}
}

Advertisement

function initializeWeatherBox(container) {
var containerId = container.getAttribute(“data-container-id’);
var isWeatherBoxV2 = containerId === ‘home-weather-v2’;

function switchWeatherTab(tabName, clickedElement) {
container.querySelectorAll(‘[data-tab-id]’).forEach(function(tab) {
tab.classList.remove(‘open’);
tab.setAttribute(‘aria-selected’, ‘false’);
});

clickedElement.classList.add(‘open’);
clickedElement.setAttribute(‘aria-selected’, ‘true’);

container.querySelectorAll(‘[data-content-id]’).forEach(function(content) {
content.style.display = ‘none’;
content.setAttribute(‘hidden’, ‘true’);
});

var targetContent = container.querySelector(‘[data-content-id=”‘ + tabName + ‘”]’);
if (targetContent) {
targetContent.style.display = ‘block’;
targetContent.removeAttribute(‘hidden’);
}
}

Advertisement

function loadWeatherData() {
// If weather data is already being loaded, wait for it
if (window.weatherDataPromise) {
window.weatherDataPromise.then(function(data) {
if (data && data.data) {
var weatherContainer = container.closest(‘.weather-box-container’);
if (weatherContainer) {
weatherContainer.style.display = ‘flex’;
updateCurrentWeather(data.data);
updateForecastTabs(data.data);
updateWeatherAlertsBar(data.data);
}
}
});
return;
}

var location = { zip: window.DEFAULT_ZIPCODE };

try {
var storedLocations = localStorage.getItem(‘hrst.zip.history’);
if (storedLocations) {
var locations = JSON.parse(storedLocations);
if (locations && locations.length > 0) {
location = locations[0];
}
}
} catch (e) {}

var apiUrl = (window.DEWY_HOSTNAME || ”) + ‘/api/v1/weather/full/’ + location.zip;

if (window.fetch) {
window.weatherDataPromise = fetch(apiUrl)
.then(function(response) { return response.json(); })
.then(function(data) {
if (data && data.data) {
var article = container.closest(‘.article–wrapper’);
var weatherContainer = container.closest(‘.weather-box-container’);
if (weatherContainer) {
weatherContainer.style.display = ‘flex’;
updateCurrentWeather(data.data);
updateForecastTabs(data.data);
updateWeatherAlertsBar(data.data);
}
return data;
}
})
.catch(function(error) {
console.error(‘Error loading weather:’, error);
// Reset to unknown background on error
updateWeatherBackground(‘unknown’);
});
}
}

Advertisement

function updateWeatherAlertsBar(weatherData) {
var weatherWatchHeader = container.querySelector(‘.weather-watch-header’);
if (!weatherWatchHeader) return;

var weatherWatchText = weatherWatchHeader.querySelector(‘.weather-watch-text’);
var weatherWatchLink = weatherWatchHeader.querySelector(‘.weather-watch-link’);

if (weatherData.alerts_count > 0) {
weatherWatchHeader.className=”weather-watch-header has-alerts”;
if (weatherWatchText) {
weatherWatchText.textContent = `Weather Alerts (${weatherData.alerts_count})`;
}
if (weatherWatchLink) {
if (!weatherWatchLink.getAttribute(‘data-initial-href’)) {
weatherWatchLink.setAttribute(‘data-initial-href’, weatherWatchLink.getAttribute(‘href’));
weatherWatchLink.setAttribute(‘data-initial-onclick’, weatherWatchLink.getAttribute(‘onclick’) || ”);
}
weatherWatchLink.setAttribute(‘href’, “https://www.koat.com/alerts”);
weatherWatchLink.setAttribute(‘onclick’, “return handleWeatherLinkClick(event, ‘click_alerts’, ‘click’, ‘mobile-weather’, “https://www.koat.com/alerts”);”);
}
} else {
weatherWatchHeader.className=”weather-watch-header”;
if (weatherWatchText) {
weatherWatchText.textContent = containerId === ‘home-weather-v2’ ? ‘Watch Latest Forecast’ : ‘Latest Forecast’;
}
if (weatherWatchLink) {
var initialHref = weatherWatchLink.getAttribute(‘data-initial-href’);
var initialOnclick = weatherWatchLink.getAttribute(‘data-initial-onclick’);
if (initialHref) {
weatherWatchLink.setAttribute(‘href’, initialHref);
}
if (initialOnclick) {
weatherWatchLink.setAttribute(‘onclick’, initialOnclick);
}
}
}
}

function updateCurrentWeather(weatherData) {
if (weatherData.current) {
var tempValue = weatherData.current.temp_f || ”;
var skyValue = weatherData.current.sky || ”;
var feelsLikeValue = weatherData.current.feels_like_f || weatherData.current.temp_f || ”;

var tempEl = container.querySelector(‘.weather-grid–current-temp-value’);
if (tempEl) {
tempEl.textContent = tempValue;
tempEl.setAttribute(‘aria-label’, tempValue + ‘ degrees Fahrenheit’);
}

Advertisement

var iconEl = container.querySelector(‘.weather-grid–current-icon’);
if (iconEl && weatherData.current.icon_name) {
iconEl.className=”weather-grid–current-icon weather-current-icon icon icon-weather-” + weatherData.current.icon_name;
}

var skyEl = container.querySelector(‘.weather-grid–sky’);
if (skyEl) {
skyEl.textContent = skyValue;
skyEl.setAttribute(‘aria-label’, ‘Current condition: ‘ + skyValue);
}

var feelsEl = container.querySelector(‘.weather-grid–feels’);
if (feelsEl) {
feelsEl.textContent = feelsLikeValue + ‘°F’;
feelsEl.setAttribute(‘aria-label’, feelsLikeValue + ‘ degrees Fahrenheit’);
}

var weatherContainer = container.querySelector(‘.weather-temp-container’);
if (weatherContainer) {
var summary = ‘Current temperature ‘ + tempValue + ‘ degrees Fahrenheit, ‘ +
skyValue + ‘, feels like ‘ + feelsLikeValue + ‘ degrees’;
weatherContainer.setAttribute(‘aria-label’, summary);
}

updateWeatherBackground(weatherData.current.icon_name);
}
}

Advertisement

function updateWeatherBackground(iconName) {
try {
var bgPath = weatherImages.backgrounds[iconName] || weatherImages.backgrounds.unknown;
container.style.backgroundImage=”url(” + bgPath + ‘)’;
} catch (e) {
console.log(‘Error updating weather background:’, e);
}
}

function updateForecastTabs(weatherData) {
var visibleItems = isWeatherBoxV2 ? 6 : 5;

if (weatherData.hourly) {
var hourlyContainer = container.querySelector(‘.weather-hourly-forecast’);
if (hourlyContainer) {
var html=””;
var maxHours = Math.min(visibleItems, weatherData.hourly.length);

for (var i = 0; i 0 ? currentIndex – 1 : tabs.length – 1;
tabs[prevIndex].focus();
break;
case ‘ArrowRight’:
e.preventDefault();
var nextIndex = currentIndex

`;
}

Advertisement

function refreshWeatherIframe(containerId) {
var iframeId = ‘weather-iframe-‘ + containerId;
var iframe = document.getElementById(iframeId);
if (iframe && iframe.src) {
var originalSrc = iframe.src;
iframe.src = originalSrc + (originalSrc.indexOf(‘?’) > -1 ? ‘&’ : ‘?’) + ‘t=” + Date.now();
}
}

function initializeWeatherBox(container) {
var containerId = container.getAttribute(“data-container-id’);
var isWeatherBoxV2 = containerId === ‘home-weather-v2’;

function switchWeatherTab(tabName, clickedElement) {
container.querySelectorAll(‘[data-tab-id]’).forEach(function(tab) {
tab.classList.remove(‘open’);
tab.setAttribute(‘aria-selected’, ‘false’);
});

clickedElement.classList.add(‘open’);
clickedElement.setAttribute(‘aria-selected’, ‘true’);

container.querySelectorAll(‘[data-content-id]’).forEach(function(content) {
content.style.display = ‘none’;
content.setAttribute(‘hidden’, ‘true’);
});

Advertisement

var targetContent = container.querySelector(‘[data-content-id=”‘ + tabName + ‘”]’);
if (targetContent) {
targetContent.style.display = ‘block’;
targetContent.removeAttribute(‘hidden’);
}
}

function loadWeatherData() {
// If weather data is already being loaded, wait for it
if (window.weatherDataPromise) {
window.weatherDataPromise.then(function(data) {
if (data && data.data) {
var weatherContainer = container.closest(‘.weather-box-container’);
if (weatherContainer) {
weatherContainer.style.display = ‘flex’;
updateCurrentWeather(data.data);
updateForecastTabs(data.data);
updateWeatherAlertsBar(data.data);
}
}
});
return;
}

var location = { zip: window.DEFAULT_ZIPCODE };

try {
var storedLocations = localStorage.getItem(‘hrst.zip.history’);
if (storedLocations) {
var locations = JSON.parse(storedLocations);
if (locations && locations.length > 0) {
location = locations[0];
}
}
} catch (e) {}

var apiUrl = (window.DEWY_HOSTNAME || ”) + ‘/api/v1/weather/full/’ + location.zip;

Advertisement

if (window.fetch) {
window.weatherDataPromise = fetch(apiUrl)
.then(function(response) { return response.json(); })
.then(function(data) {
if (data && data.data) {
var article = container.closest(‘.article–wrapper’);
var weatherContainer = container.closest(‘.weather-box-container’);
if (weatherContainer) {
weatherContainer.style.display = ‘flex’;
updateCurrentWeather(data.data);
updateForecastTabs(data.data);
updateWeatherAlertsBar(data.data);
}
return data;
}
})
.catch(function(error) {
console.error(‘Error loading weather:’, error);
// Reset to unknown background on error
updateWeatherBackground(‘unknown’);
});
}
}

function updateWeatherAlertsBar(weatherData) {
var weatherWatchHeader = container.querySelector(‘.weather-watch-header’);
if (!weatherWatchHeader) return;

var weatherWatchText = weatherWatchHeader.querySelector(‘.weather-watch-text’);
var weatherWatchLink = weatherWatchHeader.querySelector(‘.weather-watch-link’);

if (weatherData.alerts_count > 0) {
weatherWatchHeader.className=”weather-watch-header has-alerts”;
if (weatherWatchText) {
weatherWatchText.textContent = `Weather Alerts (${weatherData.alerts_count})`;
}
if (weatherWatchLink) {
if (!weatherWatchLink.getAttribute(‘data-initial-href’)) {
weatherWatchLink.setAttribute(‘data-initial-href’, weatherWatchLink.getAttribute(‘href’));
weatherWatchLink.setAttribute(‘data-initial-onclick’, weatherWatchLink.getAttribute(‘onclick’) || ”);
}
weatherWatchLink.setAttribute(‘href’, “https://www.koat.com/alerts”);
weatherWatchLink.setAttribute(‘onclick’, “return handleWeatherLinkClick(event, ‘click_alerts’, ‘click’, ‘sidelist-weather’, “https://www.koat.com/alerts”);”);
}
} else {
weatherWatchHeader.className=”weather-watch-header”;
if (weatherWatchText) {
weatherWatchText.textContent = containerId === ‘home-weather-v2’ ? ‘Watch Latest Forecast’ : ‘Latest Forecast’;
}
if (weatherWatchLink) {
var initialHref = weatherWatchLink.getAttribute(‘data-initial-href’);
var initialOnclick = weatherWatchLink.getAttribute(‘data-initial-onclick’);
if (initialHref) {
weatherWatchLink.setAttribute(‘href’, initialHref);
}
if (initialOnclick) {
weatherWatchLink.setAttribute(‘onclick’, initialOnclick);
}
}
}
}

function updateCurrentWeather(weatherData) {
if (weatherData.current) {
var tempValue = weatherData.current.temp_f || ”;
var skyValue = weatherData.current.sky || ”;
var feelsLikeValue = weatherData.current.feels_like_f || weatherData.current.temp_f || ”;

Advertisement

var tempEl = container.querySelector(‘.weather-grid–current-temp-value’);
if (tempEl) {
tempEl.textContent = tempValue;
tempEl.setAttribute(‘aria-label’, tempValue + ‘ degrees Fahrenheit’);
}

var iconEl = container.querySelector(‘.weather-grid–current-icon’);
if (iconEl && weatherData.current.icon_name) {
iconEl.className=”weather-grid–current-icon weather-current-icon icon icon-weather-” + weatherData.current.icon_name;
}

var skyEl = container.querySelector(‘.weather-grid–sky’);
if (skyEl) {
skyEl.textContent = skyValue;
skyEl.setAttribute(‘aria-label’, ‘Current condition: ‘ + skyValue);
}

var feelsEl = container.querySelector(‘.weather-grid–feels’);
if (feelsEl) {
feelsEl.textContent = feelsLikeValue + ‘°F’;
feelsEl.setAttribute(‘aria-label’, feelsLikeValue + ‘ degrees Fahrenheit’);
}

var weatherContainer = container.querySelector(‘.weather-temp-container’);
if (weatherContainer) {
var summary = ‘Current temperature ‘ + tempValue + ‘ degrees Fahrenheit, ‘ +
skyValue + ‘, feels like ‘ + feelsLikeValue + ‘ degrees’;
weatherContainer.setAttribute(‘aria-label’, summary);
}

Advertisement

updateWeatherBackground(weatherData.current.icon_name);
}
}

function updateWeatherBackground(iconName) {
try {
var bgPath = weatherImages.backgrounds[iconName] || weatherImages.backgrounds.unknown;
container.style.backgroundImage=”url(” + bgPath + ‘)’;
} catch (e) {
console.log(‘Error updating weather background:’, e);
}
}

function updateForecastTabs(weatherData) {
var visibleItems = isWeatherBoxV2 ? 6 : 5;

if (weatherData.hourly) {
var hourlyContainer = container.querySelector(‘.weather-hourly-forecast’);
if (hourlyContainer) {
var html=””;
var maxHours = Math.min(visibleItems, weatherData.hourly.length);

for (var i = 0; i 0 ? currentIndex – 1 : tabs.length – 1;
tabs[prevIndex].focus();
break;
case ‘ArrowRight’:
e.preventDefault();
var nextIndex = currentIndex

Advertisement

Loading more articles…



Source link

Continue Reading

Trending