##// END OF EJS Templates
make some target _blank configurable...
Matthias Bussonnier -
Show More
@@ -293,7 +293,7 b' 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','_blank');
296 link.attr('target',IPython._target||'_blank');
297 }
297 }
298 if (model.type !== 'directory') {
298 if (model.type !== 'directory') {
299 this.add_duplicate_button(item);
299 this.add_duplicate_button(item);
@@ -93,7 +93,7 b' define(['
93 item.find(".item_icon").addClass("fa fa-terminal");
93 item.find(".item_icon").addClass("fa fa-terminal");
94 var link = item.find("a.item_link")
94 var link = item.find("a.item_link")
95 .attr('href', utils.url_join_encode(this.base_url, "terminals", name));
95 .attr('href', utils.url_join_encode(this.base_url, "terminals", name));
96 link.attr('target', '_blank');
96 link.attr('target', IPython._target||'_blank');
97 this.add_shutdown_button(name, item);
97 this.add_shutdown_button(name, item);
98 };
98 };
99
99
General Comments 0
You need to be logged in to leave comments. Login now