Eriksen said this week it had been his “goal” to return to the highest level with Denmark and while he played at the Qatar World Cup in 2022, this felt like an even bigger milestone.
“Everything more than one game is an improvement,” he said as he reflected on what it would mean to play in another Euros for his country.
His strike wrapped up a strong first-half display from the Danes and Slovenia, while dangerous in flashes, had not been allowed to settle.
There were signs of a threat from RB Leipzig striker Sesko, but Slovenia had struggled to get him involved as Eriksen linked well with club team-mate Hojlund, and Wind caused problems out wide.
But as the match wore on, Slovenia showed their strength on set-pieces, testing Denmark’s defence with long throw-ins and dangerous corner routines.
“We showed them too much respect in the first half,” said Slovenia boss Matjaz Kek. “Many of my players have never played such a big competition. When we saw something was possible, they started playing. I think we will learn from this.”
After Atletico Madrid goalkeeper Jan Oblak denied Hojlund from close range, preventing Denmark from extending their lead, the best of the chances fell to Slovenia.
Sporar spurned several of them after getting in behind Denmark’s backline on numerous occasions and, while Sesko had a big presence, he could only rattle the post with a powerful long-range effort.
Eventually, it was Janza who produced the deserved equaliser, thumping his finish first time past a stationary Schmeichel after the ball was flicked on from a corner.
“Sometimes when you’re up 1-0 and don’t score the second goal, something happens in you,” said Denmark manager Kasper Hjulmand.
“That’s why it’s so important to get the second goal. When you don’t score the second goal, disappointing things can happen.”
Slovenia travel to Munich next to take on Serbia on Thursday, while Denmark must prepare for a crucial match against group favourites England in Frankfurt.