Button inside popup. Click on test button popup-close working but cannot open page


#1

Hi, i had create a Test button to close the popup and open a new page seem like not working. Do anyone know how to solve this problem? Thanks.

Html - Popup
< a href="/test/" class="button button-fill color-gray text-color-white popup-close "> TEST < / a >

JS
< script >
routes = [
{
path: ‘/’,
url: ‘./i.html’,
} ,
{
path: ‘/test/’,
url: ‘./pages/test.html’,
}
]


#2

Нужно обработать событие закрытия popup и оттуда открыть страницу


#3

Thanks Problem solve