Skip to content

Commit 73e44d8

Browse files
authored
Release/iframe demo (#2515)
1 parent 13af3d0 commit 73e44d8

File tree

1 file changed

+1
-5
lines changed

1 file changed

+1
-5
lines changed

apps/nuxt/src/pages/iframe/siret/index.vue

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -99,11 +99,7 @@ const setManualRegister = () => {
9999
const openNewTab = () => {
100100
CompanyData.updateRouteFromStorage()
101101
const url = new Navigation().getAbsoluteUrlByRouteName(RouteName.CatalogProjects, {}, useNavigationStore().query)
102-
if (window.top) {
103-
window.top.open(url, '_blank')
104-
} else {
105-
window.open(url, '_blank')
106-
}
102+
window.open(url, '_blank')
107103
}
108104
109105
// Initialiser iframe-resizer pour la communication avec le parent

0 commit comments

Comments
 (0)