##// END OF EJS Templates
ensure IPython._target is defined
Min RK -
Show More
@@ -5,5 +5,6 var IPython = IPython || {};
5 define([], function(){
5 define([], function(){
6 "use strict";
6 "use strict";
7 IPython.version = "3.0.0-dev";
7 IPython.version = "3.0.0-dev";
8 IPython._target = '_blank';
8 return IPython;
9 return IPython;
9 });
10 });
@@ -293,7 +293,7 define([
293 // directory nav doesn't open new tabs
293 // directory nav doesn't open new tabs
294 // files, notebooks do
294 // files, notebooks do
295 if (model.type !== "directory") {
295 if (model.type !== "directory") {
296 link.attr('target',IPython._target||'_blank');
296 link.attr('target',IPython._target);
297 }
297 }
298 if (model.type !== 'directory') {
298 if (model.type !== 'directory') {
299 this.add_duplicate_button(item);
299 this.add_duplicate_button(item);
General Comments 0
You need to be logged in to leave comments. Login now