##// END OF EJS Templates
fix Pager.detach...
MinRK -
Show More
@@ -142,7 +142,7 b' var IPython = (function (IPython) {'
142 };
142 };
143
143
144 Pager.prototype.detach = function(){
144 Pager.prototype.detach = function(){
145 var w = window.open("","_blank")
145 var w = window.open("","_blank");
146 $(w.document.head)
146 $(w.document.head)
147 .append(
147 .append(
148 $('<link>')
148 $('<link>')
@@ -153,10 +153,10 b' var IPython = (function (IPython) {'
153 .append(
153 .append(
154 $('<title>').text("IPython Pager")
154 $('<title>').text("IPython Pager")
155 );
155 );
156 var pager_body = $(w.document.body)
156 var pager_body = $(w.document.body);
157 pager_body.attr('style','overflow:scroll');
157 pager_body.css('overflow','scroll');
158
158
159 pager_body.append(this.pager_element.children())
159 pager_body.append(this.pager_element.clone().children());
160 w.document.close();
160 w.document.close();
161 this.collapse();
161 this.collapse();
162
162
General Comments 0
You need to be logged in to leave comments. Login now