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

for downloads, replaced window.open with window.location.assign #2683

Merged
merged 1 commit into from Dec 15, 2012
Merged

for downloads, replaced window.open with window.location.assign #2683

merged 1 commit into from Dec 15, 2012

Conversation

yoavram
Copy link

@yoavram yoavram commented Dec 14, 2012

window.location.assign(url) doesn't actually open a new window, so it's a bit nicer than window.open(url, '_new'), even though if not functionally different.

Not important, though.

Source for idea: StackOverflow

@Carreau
Copy link
Member

Carreau commented Dec 15, 2012

Nice !

Thanks.

Carreau added a commit that referenced this pull request Dec 15, 2012
For downloads links in menubar, replaced window.open with window.location.assign.
@Carreau Carreau merged commit 7528fbd into ipython:master Dec 15, 2012
@yoavram yoavram deleted the patch-1 branch January 4, 2013 14:55
mattvonrocketstein pushed a commit to mattvonrocketstein/ipython that referenced this pull request Nov 3, 2014
For downloads links in menubar, replaced window.open with window.location.assign.
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

Successfully merging this pull request may close these issues.

None yet

2 participants