Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

not an issue, a question #62

Closed
aime44 opened this issue May 24, 2023 · 2 comments
Closed

not an issue, a question #62

aime44 opened this issue May 24, 2023 · 2 comments

Comments

@aime44
Copy link

aime44 commented May 24, 2023

Hi magicsunday.
Thanks for your script.
I don't know if it's the best place to ask a thing, in the webtrees forum they said to go here.

I use this script and i search a solution to open a new window on click to go in the individual page.

I don't know javascript.
Maybe the the to modify is this?

function(){t.personClick(e.data)}))}))}personClick(t){1!==t.generation?this.redirectToIndividual(t.url):this.update(t.updateUrl)}redirectToIndividual(t){window.location=t}update(t){window.location=t}}

but how?

thank you

@magicsunday
Copy link
Owner

Hi.

I think you could replace the window.location=t inredirectToIndividual(t){window.location=t}with something like this window.open(t, "_blank");

@magicsunday
Copy link
Owner

Added with f394fa6

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants