From 08ce4394f1f1b1776b245447477db1fc8e183736 2014-10-21 23:46:32
From: Jonathan Frederic <jdfreder@calpoly.edu>
Date: 2014-10-21 23:46:32
Subject: [PATCH] Merge pull request #6766 from takluyver/i6764

Open ipynb download in a new window instead of changing the URL
---

diff --git a/IPython/html/static/notebook/js/menubar.js b/IPython/html/static/notebook/js/menubar.js
index f4871ec..e168080 100644
--- a/IPython/html/static/notebook/js/menubar.js
+++ b/IPython/html/static/notebook/js/menubar.js
@@ -112,7 +112,7 @@ define([
                 notebook_path,
                 notebook_name
             );
-            window.location.assign(url);
+            window.open(url);
         });
         
         this.element.find('#print_preview').click(function () {